/*! For license information please see main.dea21109.js.LICENSE.txt */
!function(){var e={677:function(e,t){!function(e){"use strict";var t=function(){return(t=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function n(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),a=0;for(t=0;t<n;t++)for(var o=arguments[t],i=0,l=o.length;i<l;i++,a++)r[a]=o[i];return r}function r(e,n){var r,a,o=(r={current:0,next:function(){return++this.current}},a={},{add:function(e,t){var n=null!=t?t:r.next();return a[n]=e,n},resolve:function(e,t,n){var r=a[e];r&&(n(t)?r.resolve(t):r.reject(t),a[e]=null)}});return n((function(e){if(e.detail&&e.detail.data&&"object"==typeof e.detail.data&&"request_id"in e.detail.data){var t=e.detail.data,n=t.request_id,r=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n}(t,["request_id"]);n&&o.resolve(n,r,(function(e){return!("error_type"in e)}))}})),function(n,r){return void 0===r&&(r={}),new Promise((function(a,i){var l=o.add({resolve:a,reject:i},r.request_id);e(n,t(t({},r),{request_id:l}))}))}}var a,o,i,l,u="undefined"!=typeof window,c=Boolean(u&&window.AndroidBridge),s=Boolean(u&&window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.VKWebAppClose),d=u&&!c&&!s,f=d&&/(^\?|&)vk_platform=mobile_web(&|$)/.test(location.search),p=d?"message":"VKWebAppEvent",v=n(["VKWebAppInit","VKWebAppGetCommunityAuthToken","VKWebAppAddToCommunity","VKWebAppAddToHomeScreenInfo","VKWebAppClose","VKWebAppCopyText","VKWebAppCreateHash","VKWebAppGetUserInfo","VKWebAppSetLocation","VKWebAppSendToClient","VKWebAppGetClientVersion","VKWebAppGetPhoneNumber","VKWebAppGetEmail","VKWebAppGetGroupInfo","VKWebAppGetGeodata","VKWebAppGetCommunityToken","VKWebAppGetConfig","VKWebAppGetLaunchParams","VKWebAppSetTitle","VKWebAppGetAuthToken","VKWebAppCallAPIMethod","VKWebAppJoinGroup","VKWebAppLeaveGroup","VKWebAppAllowMessagesFromGroup","VKWebAppDenyNotifications","VKWebAppAllowNotifications","VKWebAppOpenPayForm","VKWebAppOpenApp","VKWebAppShare","VKWebAppShowWallPostBox","VKWebAppScroll","VKWebAppShowOrderBox","VKWebAppShowLeaderBoardBox","VKWebAppShowInviteBox","VKWebAppShowRequestBox","VKWebAppAddToFavorites","VKWebAppShowCommunityWidgetPreviewBox","VKWebAppShowStoryBox","VKWebAppStorageGet","VKWebAppStorageGetKeys","VKWebAppStorageSet","VKWebAppFlashGetInfo","VKWebAppSubscribeStoryApp","VKWebAppOpenWallPost","VKWebAppCheckAllowedScopes","VKWebAppShowNativeAds","VKWebAppRetargetingPixel","VKWebAppConversionHit"],d&&!f?["VKWebAppResizeWindow","VKWebAppAddToMenu","VKWebAppShowSubscriptionBox","VKWebAppShowInstallPushBox","VKWebAppGetFriends"]:["VKWebAppShowImages"]),m=u?window.AndroidBridge:void 0,h=s?window.webkit.messageHandlers:void 0;function g(e,t){var n=t||{bubbles:!1,cancelable:!1,detail:void 0},r=document.createEvent("CustomEvent");return r.initCustomEvent(e,!!n.bubbles,!!n.cancelable,n.detail),r}(a=e.EGrantedPermission||(e.EGrantedPermission={})).CAMERA="camera",a.LOCATION="location",a.PHOTO="photo",(o=e.EGetLaunchParamsResponseLanguages||(e.EGetLaunchParamsResponseLanguages={})).RU="ru",o.UK="uk",o.UA="ua",o.EN="en",o.BE="be",o.KZ="kz",o.PT="pt",o.ES="es",(i=e.EGetLaunchParamsResponseGroupRole||(e.EGetLaunchParamsResponseGroupRole={})).ADMIN="admin",i.EDITOR="editor",i.MEMBER="member",i.MODER="moder",i.NONE="none",(l=e.EGetLaunchParamsResponsePlatforms||(e.EGetLaunchParamsResponsePlatforms={})).DESKTOP_WEB="desktop_web",l.MOBILE_WEB="mobile_web",l.MOBILE_ANDROID="mobile_android",l.MOBILE_ANDROID_MESSENGER="mobile_android_messenger",l.MOBILE_IPHONE="mobile_iphone",l.MOBILE_IPHONE_MESSENGER="mobile_iphone_messenger",l.MOBILE_IPAD="mobile_ipad","undefined"==typeof window||window.CustomEvent||(window.CustomEvent=(g.prototype=Event.prototype,g));var y=function(e){var t=void 0,a=[];function o(e){a.push(e)}function i(){return s||c}function l(){return d&&window.parent!==window}function u(){return i()||l()}"undefined"!=typeof window&&"addEventListener"in window&&window.addEventListener(p,(function(e){if(s||c)return n(a).map((function(t){return t.call(null,e)}));if(d&&e&&e.data){var r=e.data,o=r.type,i=r.data,l=r.frameId;o&&"SetSupportedHandlers"===o?i.supportedHandlers:o&&"VKWebAppSettings"===o?t=l:n(a).map((function(e){return e({detail:{type:o,data:i}})}))}}));var f=r((function(n,r){m&&m[n]?m[n](JSON.stringify(r)):h&&h[n]&&"function"==typeof h[n].postMessage?h[n].postMessage(r):d&&parent.postMessage({handler:n,params:r,type:"vk-connect",webFrameId:t,connectVersion:e},"*")}),o);return{send:f,sendPromise:f,subscribe:o,unsubscribe:function(e){var t=a.indexOf(e);-1<t&&a.splice(t,1)},supports:function(e){return c?!(!m||"function"!=typeof m[e]):s?!(!h||!h[e]||"function"!=typeof h[e].postMessage):d&&-1<v.indexOf(e)},isWebView:i,isIframe:l,isEmbedded:u,isStandalone:function(){return!u()}}}("2.5.3");e.applyMiddleware=function e(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return n.includes(void 0)||n.includes(null)?e.apply(void 0,n.filter((function(e){return"function"==typeof e}))):function(e){if(0===n.length)return e;var r,a={subscribe:e.subscribe,send:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return e.send.apply(e,t)}};return r=n.filter((function(e){return"function"==typeof e})).map((function(e){return e(a)})).reduce((function(e,t){return function(n){return e(t(n))}}))(e.send),t(t({},e),{send:r})}},e.default=y,Object.defineProperty(e,"__esModule",{value:!0})}(t)},969:function(e){var t={DESKTOP:1280,TABLET:1024,SMALL_TABLET:768,MOBILE:320,MOBILE_LANDSCAPE_HEIGHT:414,MEDIUM_HEIGHT:720},n={DESKTOP_PLUS:"(min-width: ".concat(t.DESKTOP,"px)"),TABLET:"(min-width: ".concat(t.TABLET,"px) and (max-width: ").concat(t.DESKTOP-1,"px)"),SMALL_TABLET_PLUS:"(min-width: ".concat(t.SMALL_TABLET,"px)"),SMALL_TABLET:"(min-width: ".concat(t.SMALL_TABLET,"px) and (max-width: ").concat(t.TABLET-1,"px)"),MOBILE:"(min-width: ".concat(t.MOBILE,"px) and (max-width: ").concat(t.SMALL_TABLET-1,"px)"),MEDIUM_HEIGHT:"(min-height: ".concat(t.MEDIUM_HEIGHT,"px)"),MOBILE_LANDSCAPE_HEIGHT:"(min-height: ".concat(t.MOBILE_LANDSCAPE_HEIGHT+1,"px)")};e.exports={BREAKPOINTS:t,MEDIA_QUERIES:n}},694:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var i=a.apply(null,n);i&&e.push(i)}}else if("object"===o){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var l in n)r.call(n,l)&&n[l]&&e.push(l)}}}return e.join(" ")}e.exports?(a.default=a,e.exports=a):void 0===(n=function(){return a}.apply(t,[]))||(e.exports=n)}()},725:function(e){"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function a(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(a){return!1}}()?Object.assign:function(e,o){for(var i,l,u=a(e),c=1;c<arguments.length;c++){for(var s in i=Object(arguments[c]))n.call(i,s)&&(u[s]=i[s]);if(t){l=t(i);for(var d=0;d<l.length;d++)r.call(i,l[d])&&(u[l[d]]=i[l[d]])}}return u}},463:function(e,t,n){"use strict";var r=n(791),a=n(725),o=n(296);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!r)throw Error(i(227));var l=new Set,u={};function c(e,t){s(e,t),s(e+"Capture",t)}function s(e,t){for(u[e]=t,e=0;e<t.length;e++)l.add(t[e])}var d=!("undefined"===typeof window||"undefined"===typeof window.document||"undefined"===typeof window.document.createElement),f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p=Object.prototype.hasOwnProperty,v={},m={};function h(e,t,n,r,a,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){g[e]=new h(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];g[t]=new h(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){g[e]=new h(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){g[e]=new h(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){g[e]=new h(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){g[e]=new h(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){g[e]=new h(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){g[e]=new h(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){g[e]=new h(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function w(e,t,n,r){var a=g.hasOwnProperty(t)?g[t]:null;(null!==a?0===a.type:!r&&(2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1])))||(function(e,t,n,r){if(null===t||"undefined"===typeof t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,a,r)&&(n=null),r||null===a?function(e){return!!p.call(m,e)||!p.call(v,e)&&(f.test(e)?m[e]=!0:(v[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):a.mustUseProperty?e[a.propertyName]=null===n?3!==a.type&&"":n:(t=a.attributeName,r=a.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(a=a.type)||4===a&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,b);g[t]=new h(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,b);g[t]=new h(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,b);g[t]=new h(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){g[e]=new h(e,1,!1,e.toLowerCase(),null,!1,!1)})),g.xlinkHref=new h("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){g[e]=new h(e,1,!1,e.toLowerCase(),null,!0,!0)}));var k=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,E=60103,S=60106,_=60107,C=60108,x=60114,N=60109,O=60110,P=60112,T=60113,L=60120,M=60115,A=60116,R=60121,I=60128,B=60129,z=60130,j=60131;if("function"===typeof Symbol&&Symbol.for){var D=Symbol.for;E=D("react.element"),S=D("react.portal"),_=D("react.fragment"),C=D("react.strict_mode"),x=D("react.profiler"),N=D("react.provider"),O=D("react.context"),P=D("react.forward_ref"),T=D("react.suspense"),L=D("react.suspense_list"),M=D("react.memo"),A=D("react.lazy"),R=D("react.block"),D("react.scope"),I=D("react.opaque.id"),B=D("react.debug_trace_mode"),z=D("react.offscreen"),j=D("react.legacy_hidden")}var H,W="function"===typeof Symbol&&Symbol.iterator;function V(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=W&&e[W]||e["@@iterator"])?e:null}function F(e){if(void 0===H)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);H=t&&t[1]||""}return"\n"+H+e}var U=!1;function K(e,t){if(!e||U)return"";U=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"===typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&"string"===typeof u.stack){for(var a=u.stack.split("\n"),o=r.stack.split("\n"),i=a.length-1,l=o.length-1;1<=i&&0<=l&&a[i]!==o[l];)l--;for(;1<=i&&0<=l;i--,l--)if(a[i]!==o[l]){if(1!==i||1!==l)do{if(i--,0>--l||a[i]!==o[l])return"\n"+a[i].replace(" at new "," at ")}while(1<=i&&0<=l);break}}}finally{U=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?F(e):""}function G(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return e=K(e.type,!1);case 11:return e=K(e.type.render,!1);case 22:return e=K(e.type._render,!1);case 1:return e=K(e.type,!0);default:return""}}function X(e){if(null==e)return null;if("function"===typeof e)return e.displayName||e.name||null;if("string"===typeof e)return e;switch(e){case _:return"Fragment";case S:return"Portal";case x:return"Profiler";case C:return"StrictMode";case T:return"Suspense";case L:return"SuspenseList"}if("object"===typeof e)switch(e.$$typeof){case O:return(e.displayName||"Context")+".Consumer";case N:return(e._context.displayName||"Context")+".Provider";case P:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case M:return X(e.type);case R:return X(e._render);case A:t=e._payload,e=e._init;try{return X(e(t))}catch(n){}}return null}function Y(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function q(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Q(e){e._valueTracker||(e._valueTracker=function(e){var t=q(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&"undefined"!==typeof n&&"function"===typeof n.get&&"function"===typeof n.set){var a=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function $(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=q(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Z(e){if("undefined"===typeof(e=e||("undefined"!==typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function J(e,t){var n=t.checked;return a({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=Y(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&w(e,"checked",t,!1)}function ne(e,t){te(e,t);var n=Y(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ae(e,t.type,n):t.hasOwnProperty("defaultValue")&&ae(e,t.type,Y(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function re(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ae(e,t,n){"number"===t&&Z(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function oe(e,t){return e=a({children:void 0},t),(t=function(e){var t="";return r.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function ie(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Y(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function le(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return a({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ue(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Y(n)}}function ce(e,t){var n=Y(t.value),r=Y(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function se(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var de="http://www.w3.org/1999/xhtml",fe="http://www.w3.org/2000/svg";function pe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ve(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?pe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var me,he,ge=(he=function(e,t){if(e.namespaceURI!==fe||"innerHTML"in e)e.innerHTML=t;else{for((me=me||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=me.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!==typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return he(e,t)}))}:he);function ye(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var be={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},we=["Webkit","ms","Moz","O"];function ke(e,t,n){return null==t||"boolean"===typeof t||""===t?"":n||"number"!==typeof t||0===t||be.hasOwnProperty(e)&&be[e]?(""+t).trim():t+"px"}function Ee(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=ke(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(be).forEach((function(e){we.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),be[t]=be[e]}))}));var Se=a({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function _e(e,t){if(t){if(Se[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!==typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!==typeof t.style)throw Error(i(62))}}function Ce(e,t){if(-1===e.indexOf("-"))return"string"===typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function xe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Ne=null,Oe=null,Pe=null;function Te(e){if(e=ra(e)){if("function"!==typeof Ne)throw Error(i(280));var t=e.stateNode;t&&(t=oa(t),Ne(e.stateNode,e.type,t))}}function Le(e){Oe?Pe?Pe.push(e):Pe=[e]:Oe=e}function Me(){if(Oe){var e=Oe,t=Pe;if(Pe=Oe=null,Te(e),t)for(e=0;e<t.length;e++)Te(t[e])}}function Ae(e,t){return e(t)}function Re(e,t,n,r,a){return e(t,n,r,a)}function Ie(){}var Be=Ae,ze=!1,je=!1;function De(){null===Oe&&null===Pe||(Ie(),Me())}function He(e,t){var n=e.stateNode;if(null===n)return null;var r=oa(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!==typeof n)throw Error(i(231,t,typeof n));return n}var We=!1;if(d)try{var Ve={};Object.defineProperty(Ve,"passive",{get:function(){We=!0}}),window.addEventListener("test",Ve,Ve),window.removeEventListener("test",Ve,Ve)}catch(he){We=!1}function Fe(e,t,n,r,a,o,i,l,u){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(s){this.onError(s)}}var Ue=!1,Ke=null,Ge=!1,Xe=null,Ye={onError:function(e){Ue=!0,Ke=e}};function qe(e,t,n,r,a,o,i,l,u){Ue=!1,Ke=null,Fe.apply(Ye,arguments)}function Qe(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!==(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function $e(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function Ze(e){if(Qe(e)!==e)throw Error(i(188))}function Je(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=Qe(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var o=a.alternate;if(null===o){if(null!==(r=a.return)){n=r;continue}break}if(a.child===o.child){for(o=a.child;o;){if(o===n)return Ze(a),e;if(o===r)return Ze(a),t;o=o.sibling}throw Error(i(188))}if(n.return!==r.return)n=a,r=o;else{for(var l=!1,u=a.child;u;){if(u===n){l=!0,n=a,r=o;break}if(u===r){l=!0,r=a,n=o;break}u=u.sibling}if(!l){for(u=o.child;u;){if(u===n){l=!0,n=o,r=a;break}if(u===r){l=!0,r=o,n=a;break}u=u.sibling}if(!l)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function et(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var tt,nt,rt,at,ot=!1,it=[],lt=null,ut=null,ct=null,st=new Map,dt=new Map,ft=[],pt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function vt(e,t,n,r,a){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:a,targetContainers:[r]}}function mt(e,t){switch(e){case"focusin":case"focusout":lt=null;break;case"dragenter":case"dragleave":ut=null;break;case"mouseover":case"mouseout":ct=null;break;case"pointerover":case"pointerout":st.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":dt.delete(t.pointerId)}}function ht(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e=vt(t,n,r,a,o),null!==t&&(null!==(t=ra(t))&&nt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function gt(e){var t=na(e.target);if(null!==t){var n=Qe(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=$e(n)))return e.blockedOn=t,void at(e.lanePriority,(function(){o.unstable_runWithPriority(e.priority,(function(){rt(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function yt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ra(n))&&nt(t),e.blockedOn=n,!1;t.shift()}return!0}function bt(e,t,n){yt(e)&&n.delete(t)}function wt(){for(ot=!1;0<it.length;){var e=it[0];if(null!==e.blockedOn){null!==(e=ra(e.blockedOn))&&tt(e);break}for(var t=e.targetContainers;0<t.length;){var n=Jt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&it.shift()}null!==lt&&yt(lt)&&(lt=null),null!==ut&&yt(ut)&&(ut=null),null!==ct&&yt(ct)&&(ct=null),st.forEach(bt),dt.forEach(bt)}function kt(e,t){e.blockedOn===t&&(e.blockedOn=null,ot||(ot=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,wt)))}function Et(e){function t(t){return kt(t,e)}if(0<it.length){kt(it[0],e);for(var n=1;n<it.length;n++){var r=it[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==lt&&kt(lt,e),null!==ut&&kt(ut,e),null!==ct&&kt(ct,e),st.forEach(t),dt.forEach(t),n=0;n<ft.length;n++)(r=ft[n]).blockedOn===e&&(r.blockedOn=null);for(;0<ft.length&&null===(n=ft[0]).blockedOn;)gt(n),null===n.blockedOn&&ft.shift()}function St(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var _t={animationend:St("Animation","AnimationEnd"),animationiteration:St("Animation","AnimationIteration"),animationstart:St("Animation","AnimationStart"),transitionend:St("Transition","TransitionEnd")},Ct={},xt={};function Nt(e){if(Ct[e])return Ct[e];if(!_t[e])return e;var t,n=_t[e];for(t in n)if(n.hasOwnProperty(t)&&t in xt)return Ct[e]=n[t];return e}d&&(xt=document.createElement("div").style,"AnimationEvent"in window||(delete _t.animationend.animation,delete _t.animationiteration.animation,delete _t.animationstart.animation),"TransitionEvent"in window||delete _t.transitionend.transition);var Ot=Nt("animationend"),Pt=Nt("animationiteration"),Tt=Nt("animationstart"),Lt=Nt("transitionend"),Mt=new Map,At=new Map,Rt=["abort","abort",Ot,"animationEnd",Pt,"animationIteration",Tt,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Lt,"transitionEnd","waiting","waiting"];function It(e,t){for(var n=0;n<e.length;n+=2){var r=e[n],a=e[n+1];a="on"+(a[0].toUpperCase()+a.slice(1)),At.set(r,t),Mt.set(r,a),c(a,[r])}}(0,o.unstable_now)();var Bt=8;function zt(e){if(0!==(1&e))return Bt=15,1;if(0!==(2&e))return Bt=14,2;if(0!==(4&e))return Bt=13,4;var t=24&e;return 0!==t?(Bt=12,t):0!==(32&e)?(Bt=11,32):0!==(t=192&e)?(Bt=10,t):0!==(256&e)?(Bt=9,256):0!==(t=3584&e)?(Bt=8,t):0!==(4096&e)?(Bt=7,4096):0!==(t=4186112&e)?(Bt=6,t):0!==(t=62914560&e)?(Bt=5,t):67108864&e?(Bt=4,67108864):0!==(134217728&e)?(Bt=3,134217728):0!==(t=805306368&e)?(Bt=2,t):0!==(1073741824&e)?(Bt=1,1073741824):(Bt=8,e)}function jt(e,t){var n=e.pendingLanes;if(0===n)return Bt=0;var r=0,a=0,o=e.expiredLanes,i=e.suspendedLanes,l=e.pingedLanes;if(0!==o)r=o,a=Bt=15;else if(0!==(o=134217727&n)){var u=o&~i;0!==u?(r=zt(u),a=Bt):0!==(l&=o)&&(r=zt(l),a=Bt)}else 0!==(o=n&~i)?(r=zt(o),a=Bt):0!==l&&(r=zt(l),a=Bt);if(0===r)return 0;if(r=n&((0>(r=31-Ut(r))?0:1<<r)<<1)-1,0!==t&&t!==r&&0===(t&i)){if(zt(t),a<=Bt)return t;Bt=a}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-Ut(t)),r|=e[n],t&=~a;return r}function Dt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Ht(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Wt(24&~t))?Ht(10,t):e;case 10:return 0===(e=Wt(192&~t))?Ht(8,t):e;case 8:return 0===(e=Wt(3584&~t))&&(0===(e=Wt(4186112&~t))&&(e=512)),e;case 2:return 0===(t=Wt(805306368&~t))&&(t=268435456),t}throw Error(i(358,e))}function Wt(e){return e&-e}function Vt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ft(e,t,n){e.pendingLanes|=t;var r=t-1;e.suspendedLanes&=r,e.pingedLanes&=r,(e=e.eventTimes)[t=31-Ut(t)]=n}var Ut=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Kt(e)/Gt|0)|0},Kt=Math.log,Gt=Math.LN2;var Xt=o.unstable_UserBlockingPriority,Yt=o.unstable_runWithPriority,qt=!0;function Qt(e,t,n,r){ze||Ie();var a=Zt,o=ze;ze=!0;try{Re(a,e,t,n,r)}finally{(ze=o)||De()}}function $t(e,t,n,r){Yt(Xt,Zt.bind(null,e,t,n,r))}function Zt(e,t,n,r){var a;if(qt)if((a=0===(4&t))&&0<it.length&&-1<pt.indexOf(e))e=vt(null,e,t,n,r),it.push(e);else{var o=Jt(e,t,n,r);if(null===o)a&&mt(e,r);else{if(a){if(-1<pt.indexOf(e))return e=vt(o,e,t,n,r),void it.push(e);if(function(e,t,n,r,a){switch(t){case"focusin":return lt=ht(lt,e,t,n,r,a),!0;case"dragenter":return ut=ht(ut,e,t,n,r,a),!0;case"mouseover":return ct=ht(ct,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return st.set(o,ht(st.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,dt.set(o,ht(dt.get(o)||null,e,t,n,r,a)),!0}return!1}(o,e,t,n,r))return;mt(e,r)}Ir(e,t,r,null,n)}}}function Jt(e,t,n,r){var a=xe(r);if(null!==(a=na(a))){var o=Qe(a);if(null===o)a=null;else{var i=o.tag;if(13===i){if(null!==(a=$e(o)))return a;a=null}else if(3===i){if(o.stateNode.hydrate)return 3===o.tag?o.stateNode.containerInfo:null;a=null}else o!==a&&(a=null)}}return Ir(e,t,r,a,n),null}var en=null,tn=null,nn=null;function rn(){if(nn)return nn;var e,t,n=tn,r=n.length,a="value"in en?en.value:en.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===a[o-t];t++);return nn=a.slice(e,1<t?1-t:void 0)}function an(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function on(){return!0}function ln(){return!1}function un(e){function t(t,n,r,a,o){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(a):a[i]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?on:ln,this.isPropagationStopped=ln,this}return a(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!==typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=on)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!==typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=on)},persist:function(){},isPersistent:on}),t}var cn,sn,dn,fn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pn=un(fn),vn=a({},fn,{view:0,detail:0}),mn=un(vn),hn=a({},vn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:On,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==dn&&(dn&&"mousemove"===e.type?(cn=e.screenX-dn.screenX,sn=e.screenY-dn.screenY):sn=cn=0,dn=e),cn)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),gn=un(hn),yn=un(a({},hn,{dataTransfer:0})),bn=un(a({},vn,{relatedTarget:0})),wn=un(a({},fn,{animationName:0,elapsedTime:0,pseudoElement:0})),kn=a({},fn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),En=un(kn),Sn=un(a({},fn,{data:0})),_n={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Cn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},xn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Nn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=xn[e])&&!!t[e]}function On(){return Nn}var Pn=a({},vn,{key:function(e){if(e.key){var t=_n[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=an(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?Cn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:On,charCode:function(e){return"keypress"===e.type?an(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?an(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Tn=un(Pn),Ln=un(a({},hn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Mn=un(a({},vn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:On})),An=un(a({},fn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Rn=a({},hn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),In=un(Rn),Bn=[9,13,27,32],zn=d&&"CompositionEvent"in window,jn=null;d&&"documentMode"in document&&(jn=document.documentMode);var Dn=d&&"TextEvent"in window&&!jn,Hn=d&&(!zn||jn&&8<jn&&11>=jn),Wn=String.fromCharCode(32),Vn=!1;function Fn(e,t){switch(e){case"keyup":return-1!==Bn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Un(e){return"object"===typeof(e=e.detail)&&"data"in e?e.data:null}var Kn=!1;var Gn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Xn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Gn[e.type]:"textarea"===t}function Yn(e,t,n,r){Le(r),0<(t=zr(t,"onChange")).length&&(n=new pn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var qn=null,Qn=null;function $n(e){Pr(e,0)}function Zn(e){if($(aa(e)))return e}function Jn(e,t){if("change"===e)return t}var er=!1;if(d){var tr;if(d){var nr="oninput"in document;if(!nr){var rr=document.createElement("div");rr.setAttribute("oninput","return;"),nr="function"===typeof rr.oninput}tr=nr}else tr=!1;er=tr&&(!document.documentMode||9<document.documentMode)}function ar(){qn&&(qn.detachEvent("onpropertychange",or),Qn=qn=null)}function or(e){if("value"===e.propertyName&&Zn(Qn)){var t=[];if(Yn(t,Qn,e,xe(e)),e=$n,ze)e(t);else{ze=!0;try{Ae(e,t)}finally{ze=!1,De()}}}}function ir(e,t,n){"focusin"===e?(ar(),Qn=n,(qn=t).attachEvent("onpropertychange",or)):"focusout"===e&&ar()}function lr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Zn(Qn)}function ur(e,t){if("click"===e)return Zn(t)}function cr(e,t){if("input"===e||"change"===e)return Zn(t)}var sr="function"===typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e===1/t)||e!==e&&t!==t},dr=Object.prototype.hasOwnProperty;function fr(e,t){if(sr(e,t))return!0;if("object"!==typeof e||null===e||"object"!==typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++)if(!dr.call(t,n[r])||!sr(e[n[r]],t[n[r]]))return!1;return!0}function pr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function vr(e,t){var n,r=pr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=pr(r)}}function mr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?mr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function hr(){for(var e=window,t=Z();t instanceof e.HTMLIFrameElement;){try{var n="string"===typeof t.contentWindow.location.href}catch(r){n=!1}if(!n)break;t=Z((e=t.contentWindow).document)}return t}function gr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var yr=d&&"documentMode"in document&&11>=document.documentMode,br=null,wr=null,kr=null,Er=!1;function Sr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;Er||null==br||br!==Z(r)||("selectionStart"in(r=br)&&gr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},kr&&fr(kr,r)||(kr=r,0<(r=zr(wr,"onSelect")).length&&(t=new pn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=br)))}It("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),It("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),It(Rt,2);for(var _r="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Cr=0;Cr<_r.length;Cr++)At.set(_r[Cr],0);s("onMouseEnter",["mouseout","mouseover"]),s("onMouseLeave",["mouseout","mouseover"]),s("onPointerEnter",["pointerout","pointerover"]),s("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var xr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Nr=new Set("cancel close invalid load scroll toggle".split(" ").concat(xr));function Or(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,o,l,u,c){if(qe.apply(this,arguments),Ue){if(!Ue)throw Error(i(198));var s=Ke;Ue=!1,Ke=null,Ge||(Ge=!0,Xe=s)}}(r,t,void 0,e),e.currentTarget=null}function Pr(e,t){t=0!==(4&t);for(var n=0;n<e.length;n++){var r=e[n],a=r.event;r=r.listeners;e:{var o=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],u=l.instance,c=l.currentTarget;if(l=l.listener,u!==o&&a.isPropagationStopped())break e;Or(a,l,c),o=u}else for(i=0;i<r.length;i++){if(u=(l=r[i]).instance,c=l.currentTarget,l=l.listener,u!==o&&a.isPropagationStopped())break e;Or(a,l,c),o=u}}}if(Ge)throw e=Xe,Ge=!1,Xe=null,e}function Tr(e,t){var n=ia(t),r=e+"__bubble";n.has(r)||(Rr(t,e,2,!1),n.add(r))}var Lr="_reactListening"+Math.random().toString(36).slice(2);function Mr(e){e[Lr]||(e[Lr]=!0,l.forEach((function(t){Nr.has(t)||Ar(t,!1,e,null),Ar(t,!0,e,null)})))}function Ar(e,t,n,r){var a=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,o=n;if("selectionchange"===e&&9!==n.nodeType&&(o=n.ownerDocument),null!==r&&!t&&Nr.has(e)){if("scroll"!==e)return;a|=2,o=r}var i=ia(o),l=e+"__"+(t?"capture":"bubble");i.has(l)||(t&&(a|=4),Rr(o,e,a,t),i.add(l))}function Rr(e,t,n,r){var a=At.get(t);switch(void 0===a?2:a){case 0:a=Qt;break;case 1:a=$t;break;default:a=Zt}n=a.bind(null,t,n,e),a=void 0,!We||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function Ir(e,t,n,r,a){var o=r;if(0===(1&t)&&0===(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===a||8===l.nodeType&&l.parentNode===a)break;if(4===i)for(i=r.return;null!==i;){var u=i.tag;if((3===u||4===u)&&((u=i.stateNode.containerInfo)===a||8===u.nodeType&&u.parentNode===a))return;i=i.return}for(;null!==l;){if(null===(i=na(l)))return;if(5===(u=i.tag)||6===u){r=o=i;continue e}l=l.parentNode}}r=r.return}!function(e,t,n){if(je)return e(t,n);je=!0;try{Be(e,t,n)}finally{je=!1,De()}}((function(){var r=o,a=xe(n),i=[];e:{var l=Mt.get(e);if(void 0!==l){var u=pn,c=e;switch(e){case"keypress":if(0===an(n))break e;case"keydown":case"keyup":u=Tn;break;case"focusin":c="focus",u=bn;break;case"focusout":c="blur",u=bn;break;case"beforeblur":case"afterblur":u=bn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=gn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=yn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=Mn;break;case Ot:case Pt:case Tt:u=wn;break;case Lt:u=An;break;case"scroll":u=mn;break;case"wheel":u=In;break;case"copy":case"cut":case"paste":u=En;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=Ln}var s=0!==(4&t),d=!s&&"scroll"===e,f=s?null!==l?l+"Capture":null:l;s=[];for(var p,v=r;null!==v;){var m=(p=v).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&(null!=(m=He(v,f))&&s.push(Br(v,m,p)))),d)break;v=v.return}0<s.length&&(l=new u(l,c,null,n,a),i.push({event:l,listeners:s}))}}if(0===(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||0!==(16&t)||!(c=n.relatedTarget||n.fromElement)||!na(c)&&!c[ea])&&(u||l)&&(l=a.window===a?a:(l=a.ownerDocument)?l.defaultView||l.parentWindow:window,u?(u=r,null!==(c=(c=n.relatedTarget||n.toElement)?na(c):null)&&(c!==(d=Qe(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(u=null,c=r),u!==c)){if(s=gn,m="onMouseLeave",f="onMouseEnter",v="mouse","pointerout"!==e&&"pointerover"!==e||(s=Ln,m="onPointerLeave",f="onPointerEnter",v="pointer"),d=null==u?l:aa(u),p=null==c?l:aa(c),(l=new s(m,v+"leave",u,n,a)).target=d,l.relatedTarget=p,m=null,na(a)===r&&((s=new s(f,v+"enter",c,n,a)).target=p,s.relatedTarget=d,m=s),d=m,u&&c)e:{for(f=c,v=0,p=s=u;p;p=jr(p))v++;for(p=0,m=f;m;m=jr(m))p++;for(;0<v-p;)s=jr(s),v--;for(;0<p-v;)f=jr(f),p--;for(;v--;){if(s===f||null!==f&&s===f.alternate)break e;s=jr(s),f=jr(f)}s=null}else s=null;null!==u&&Dr(i,l,u,s,!1),null!==c&&null!==d&&Dr(i,d,c,s,!0)}if("select"===(u=(l=r?aa(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===u&&"file"===l.type)var h=Jn;else if(Xn(l))if(er)h=cr;else{h=lr;var g=ir}else(u=l.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(h=ur);switch(h&&(h=h(e,r))?Yn(i,h,n,a):(g&&g(e,l,r),"focusout"===e&&(g=l._wrapperState)&&g.controlled&&"number"===l.type&&ae(l,"number",l.value)),g=r?aa(r):window,e){case"focusin":(Xn(g)||"true"===g.contentEditable)&&(br=g,wr=r,kr=null);break;case"focusout":kr=wr=br=null;break;case"mousedown":Er=!0;break;case"contextmenu":case"mouseup":case"dragend":Er=!1,Sr(i,n,a);break;case"selectionchange":if(yr)break;case"keydown":case"keyup":Sr(i,n,a)}var y;if(zn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Kn?Fn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Hn&&"ko"!==n.locale&&(Kn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Kn&&(y=rn()):(tn="value"in(en=a)?en.value:en.textContent,Kn=!0)),0<(g=zr(r,b)).length&&(b=new Sn(b,e,null,n,a),i.push({event:b,listeners:g}),y?b.data=y:null!==(y=Un(n))&&(b.data=y))),(y=Dn?function(e,t){switch(e){case"compositionend":return Un(t);case"keypress":return 32!==t.which?null:(Vn=!0,Wn);case"textInput":return(e=t.data)===Wn&&Vn?null:e;default:return null}}(e,n):function(e,t){if(Kn)return"compositionend"===e||!zn&&Fn(e,t)?(e=rn(),nn=tn=en=null,Kn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Hn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=zr(r,"onBeforeInput")).length&&(a=new Sn("onBeforeInput","beforeinput",null,n,a),i.push({event:a,listeners:r}),a.data=y))}Pr(i,t)}))}function Br(e,t,n){return{instance:e,listener:t,currentTarget:n}}function zr(e,t){for(var n=t+"Capture",r=[];null!==e;){var a=e,o=a.stateNode;5===a.tag&&null!==o&&(a=o,null!=(o=He(e,n))&&r.unshift(Br(e,o,a)),null!=(o=He(e,t))&&r.push(Br(e,o,a))),e=e.return}return r}function jr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Dr(e,t,n,r,a){for(var o=t._reactName,i=[];null!==n&&n!==r;){var l=n,u=l.alternate,c=l.stateNode;if(null!==u&&u===r)break;5===l.tag&&null!==c&&(l=c,a?null!=(u=He(n,o))&&i.unshift(Br(n,u,l)):a||null!=(u=He(n,o))&&i.push(Br(n,u,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}function Hr(){}var Wr=null,Vr=null;function Fr(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Ur(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"===typeof t.children||"number"===typeof t.children||"object"===typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Kr="function"===typeof setTimeout?setTimeout:void 0,Gr="function"===typeof clearTimeout?clearTimeout:void 0;function Xr(e){1===e.nodeType?e.textContent="":9===e.nodeType&&(null!=(e=e.body)&&(e.textContent=""))}function Yr(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function qr(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Qr=0;var $r=Math.random().toString(36).slice(2),Zr="__reactFiber$"+$r,Jr="__reactProps$"+$r,ea="__reactContainer$"+$r,ta="__reactEvents$"+$r;function na(e){var t=e[Zr];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ea]||n[Zr]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=qr(e);null!==e;){if(n=e[Zr])return n;e=qr(e)}return t}n=(e=n).parentNode}return null}function ra(e){return!(e=e[Zr]||e[ea])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function aa(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function oa(e){return e[Jr]||null}function ia(e){var t=e[ta];return void 0===t&&(t=e[ta]=new Set),t}var la=[],ua=-1;function ca(e){return{current:e}}function sa(e){0>ua||(e.current=la[ua],la[ua]=null,ua--)}function da(e,t){ua++,la[ua]=e.current,e.current=t}var fa={},pa=ca(fa),va=ca(!1),ma=fa;function ha(e,t){var n=e.type.contextTypes;if(!n)return fa;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a,o={};for(a in n)o[a]=t[a];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ga(e){return null!==(e=e.childContextTypes)&&void 0!==e}function ya(){sa(va),sa(pa)}function ba(e,t,n){if(pa.current!==fa)throw Error(i(168));da(pa,t),da(va,n)}function wa(e,t,n){var r=e.stateNode;if(e=t.childContextTypes,"function"!==typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in e))throw Error(i(108,X(t)||"Unknown",o));return a({},n,r)}function ka(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||fa,ma=pa.current,da(pa,e),da(va,va.current),!0}function Ea(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=wa(e,t,ma),r.__reactInternalMemoizedMergedChildContext=e,sa(va),sa(pa),da(pa,e)):sa(va),da(va,n)}var Sa=null,_a=null,Ca=o.unstable_runWithPriority,xa=o.unstable_scheduleCallback,Na=o.unstable_cancelCallback,Oa=o.unstable_shouldYield,Pa=o.unstable_requestPaint,Ta=o.unstable_now,La=o.unstable_getCurrentPriorityLevel,Ma=o.unstable_ImmediatePriority,Aa=o.unstable_UserBlockingPriority,Ra=o.unstable_NormalPriority,Ia=o.unstable_LowPriority,Ba=o.unstable_IdlePriority,za={},ja=void 0!==Pa?Pa:function(){},Da=null,Ha=null,Wa=!1,Va=Ta(),Fa=1e4>Va?Ta:function(){return Ta()-Va};function Ua(){switch(La()){case Ma:return 99;case Aa:return 98;case Ra:return 97;case Ia:return 96;case Ba:return 95;default:throw Error(i(332))}}function Ka(e){switch(e){case 99:return Ma;case 98:return Aa;case 97:return Ra;case 96:return Ia;case 95:return Ba;default:throw Error(i(332))}}function Ga(e,t){return e=Ka(e),Ca(e,t)}function Xa(e,t,n){return e=Ka(e),xa(e,t,n)}function Ya(){if(null!==Ha){var e=Ha;Ha=null,Na(e)}qa()}function qa(){if(!Wa&&null!==Da){Wa=!0;var e=0;try{var t=Da;Ga(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Da=null}catch(n){throw null!==Da&&(Da=Da.slice(e+1)),xa(Ma,Ya),n}finally{Wa=!1}}}var Qa=k.ReactCurrentBatchConfig;function $a(e,t){if(e&&e.defaultProps){for(var n in t=a({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Za=ca(null),Ja=null,eo=null,to=null;function no(){to=eo=Ja=null}function ro(e){var t=Za.current;sa(Za),e.type._context._currentValue=t}function ao(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function oo(e,t){Ja=e,to=eo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(zi=!0),e.firstContext=null)}function io(e,t){if(to!==e&&!1!==t&&0!==t)if("number"===typeof t&&1073741823!==t||(to=e,t=1073741823),t={context:e,observedBits:t,next:null},null===eo){if(null===Ja)throw Error(i(308));eo=t,Ja.dependencies={lanes:0,firstContext:t,responders:null}}else eo=eo.next=t;return e._currentValue}var lo=!1;function uo(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function co(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function so(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function fo(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function po(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?a=o=i:o=o.next=i,n=n.next}while(null!==n);null===o?a=o=t:o=o.next=t}else a=o=t;return n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function vo(e,t,n,r){var o=e.updateQueue;lo=!1;var i=o.firstBaseUpdate,l=o.lastBaseUpdate,u=o.shared.pending;if(null!==u){o.shared.pending=null;var c=u,s=c.next;c.next=null,null===l?i=s:l.next=s,l=c;var d=e.alternate;if(null!==d){var f=(d=d.updateQueue).lastBaseUpdate;f!==l&&(null===f?d.firstBaseUpdate=s:f.next=s,d.lastBaseUpdate=c)}}if(null!==i){for(f=o.baseState,l=0,d=s=c=null;;){u=i.lane;var p=i.eventTime;if((r&u)===u){null!==d&&(d=d.next={eventTime:p,lane:0,tag:i.tag,payload:i.payload,callback:i.callback,next:null});e:{var v=e,m=i;switch(u=t,p=n,m.tag){case 1:if("function"===typeof(v=m.payload)){f=v.call(p,f,u);break e}f=v;break e;case 3:v.flags=-4097&v.flags|64;case 0:if(null===(u="function"===typeof(v=m.payload)?v.call(p,f,u):v)||void 0===u)break e;f=a({},f,u);break e;case 2:lo=!0}}null!==i.callback&&(e.flags|=32,null===(u=o.effects)?o.effects=[i]:u.push(i))}else p={eventTime:p,lane:u,tag:i.tag,payload:i.payload,callback:i.callback,next:null},null===d?(s=d=p,c=f):d=d.next=p,l|=u;if(null===(i=i.next)){if(null===(u=o.shared.pending))break;i=u.next,u.next=null,o.lastBaseUpdate=u,o.shared.pending=null}}null===d&&(c=f),o.baseState=c,o.firstBaseUpdate=s,o.lastBaseUpdate=d,Wl|=l,e.lanes=l,e.memoizedState=f}}function mo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=n,"function"!==typeof a)throw Error(i(191,a));a.call(r)}}}var ho=(new r.Component).refs;function go(e,t,n,r){n=null===(n=n(r,t=e.memoizedState))||void 0===n?t:a({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var yo={isMounted:function(e){return!!(e=e._reactInternals)&&Qe(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=fu(),a=pu(e),o=so(r,a);o.payload=t,void 0!==n&&null!==n&&(o.callback=n),fo(e,o),vu(e,a,r)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=fu(),a=pu(e),o=so(r,a);o.tag=1,o.payload=t,void 0!==n&&null!==n&&(o.callback=n),fo(e,o),vu(e,a,r)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=fu(),r=pu(e),a=so(n,r);a.tag=2,void 0!==t&&null!==t&&(a.callback=t),fo(e,a),vu(e,r,n)}};function bo(e,t,n,r,a,o,i){return"function"===typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||(!fr(n,r)||!fr(a,o))}function wo(e,t,n){var r=!1,a=fa,o=t.contextType;return"object"===typeof o&&null!==o?o=io(o):(a=ga(t)?ma:pa.current,o=(r=null!==(r=t.contextTypes)&&void 0!==r)?ha(e,a):fa),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=yo,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function ko(e,t,n,r){e=t.state,"function"===typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"===typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&yo.enqueueReplaceState(t,t.state,null)}function Eo(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=ho,uo(e);var o=t.contextType;"object"===typeof o&&null!==o?a.context=io(o):(o=ga(t)?ma:pa.current,a.context=ha(e,o)),vo(e,n,a,r),a.state=e.memoizedState,"function"===typeof(o=t.getDerivedStateFromProps)&&(go(e,t,o,n),a.state=e.memoizedState),"function"===typeof t.getDerivedStateFromProps||"function"===typeof a.getSnapshotBeforeUpdate||"function"!==typeof a.UNSAFE_componentWillMount&&"function"!==typeof a.componentWillMount||(t=a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),t!==a.state&&yo.enqueueReplaceState(a,a.state,null),vo(e,n,a,r),a.state=e.memoizedState),"function"===typeof a.componentDidMount&&(e.flags|=4)}var So=Array.isArray;function _o(e,t,n){if(null!==(e=n.ref)&&"function"!==typeof e&&"object"!==typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var a=""+e;return null!==t&&null!==t.ref&&"function"===typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=r.refs;t===ho&&(t=r.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!==typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function Co(e,t){if("textarea"!==e.type)throw Error(i(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function xo(e){function t(t,n){if(e){var r=t.lastEffect;null!==r?(r.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=Gu(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags=2,n):r:(t.flags=2,n):n}function l(t){return e&&null===t.alternate&&(t.flags=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Qu(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function c(e,t,n,r){return null!==t&&t.elementType===n.type?((r=a(t,n.props)).ref=_o(e,t,n),r.return=e,r):((r=Xu(n.type,n.key,n.props,null,e.mode,r)).ref=_o(e,t,n),r.return=e,r)}function s(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=$u(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Yu(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function f(e,t,n){if("string"===typeof t||"number"===typeof t)return(t=Qu(""+t,e.mode,n)).return=e,t;if("object"===typeof t&&null!==t){switch(t.$$typeof){case E:return(n=Xu(t.type,t.key,t.props,null,e.mode,n)).ref=_o(e,null,t),n.return=e,n;case S:return(t=$u(t,e.mode,n)).return=e,t}if(So(t)||V(t))return(t=Yu(t,e.mode,n,null)).return=e,t;Co(e,t)}return null}function p(e,t,n,r){var a=null!==t?t.key:null;if("string"===typeof n||"number"===typeof n)return null!==a?null:u(e,t,""+n,r);if("object"===typeof n&&null!==n){switch(n.$$typeof){case E:return n.key===a?n.type===_?d(e,t,n.props.children,r,a):c(e,t,n,r):null;case S:return n.key===a?s(e,t,n,r):null}if(So(n)||V(n))return null!==a?null:d(e,t,n,r,null);Co(e,n)}return null}function v(e,t,n,r,a){if("string"===typeof r||"number"===typeof r)return u(t,e=e.get(n)||null,""+r,a);if("object"===typeof r&&null!==r){switch(r.$$typeof){case E:return e=e.get(null===r.key?n:r.key)||null,r.type===_?d(t,e,r.props.children,a,r.key):c(t,e,r,a);case S:return s(t,e=e.get(null===r.key?n:r.key)||null,r,a)}if(So(r)||V(r))return d(t,e=e.get(n)||null,r,a,null);Co(t,r)}return null}function m(a,i,l,u){for(var c=null,s=null,d=i,m=i=0,h=null;null!==d&&m<l.length;m++){d.index>m?(h=d,d=null):h=d.sibling;var g=p(a,d,l[m],u);if(null===g){null===d&&(d=h);break}e&&d&&null===g.alternate&&t(a,d),i=o(g,i,m),null===s?c=g:s.sibling=g,s=g,d=h}if(m===l.length)return n(a,d),c;if(null===d){for(;m<l.length;m++)null!==(d=f(a,l[m],u))&&(i=o(d,i,m),null===s?c=d:s.sibling=d,s=d);return c}for(d=r(a,d);m<l.length;m++)null!==(h=v(d,a,m,l[m],u))&&(e&&null!==h.alternate&&d.delete(null===h.key?m:h.key),i=o(h,i,m),null===s?c=h:s.sibling=h,s=h);return e&&d.forEach((function(e){return t(a,e)})),c}function h(a,l,u,c){var s=V(u);if("function"!==typeof s)throw Error(i(150));if(null==(u=s.call(u)))throw Error(i(151));for(var d=s=null,m=l,h=l=0,g=null,y=u.next();null!==m&&!y.done;h++,y=u.next()){m.index>h?(g=m,m=null):g=m.sibling;var b=p(a,m,y.value,c);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(a,m),l=o(b,l,h),null===d?s=b:d.sibling=b,d=b,m=g}if(y.done)return n(a,m),s;if(null===m){for(;!y.done;h++,y=u.next())null!==(y=f(a,y.value,c))&&(l=o(y,l,h),null===d?s=y:d.sibling=y,d=y);return s}for(m=r(a,m);!y.done;h++,y=u.next())null!==(y=v(m,a,h,y.value,c))&&(e&&null!==y.alternate&&m.delete(null===y.key?h:y.key),l=o(y,l,h),null===d?s=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(a,e)})),s}return function(e,r,o,u){var c="object"===typeof o&&null!==o&&o.type===_&&null===o.key;c&&(o=o.props.children);var s="object"===typeof o&&null!==o;if(s)switch(o.$$typeof){case E:e:{for(s=o.key,c=r;null!==c;){if(c.key===s){if(7===c.tag){if(o.type===_){n(e,c.sibling),(r=a(c,o.props.children)).return=e,e=r;break e}}else if(c.elementType===o.type){n(e,c.sibling),(r=a(c,o.props)).ref=_o(e,c,o),r.return=e,e=r;break e}n(e,c);break}t(e,c),c=c.sibling}o.type===_?((r=Yu(o.props.children,e.mode,u,o.key)).return=e,e=r):((u=Xu(o.type,o.key,o.props,null,e.mode,u)).ref=_o(e,r,o),u.return=e,e=u)}return l(e);case S:e:{for(c=o.key;null!==r;){if(r.key===c){if(4===r.tag&&r.stateNode.containerInfo===o.containerInfo&&r.stateNode.implementation===o.implementation){n(e,r.sibling),(r=a(r,o.children||[])).return=e,e=r;break e}n(e,r);break}t(e,r),r=r.sibling}(r=$u(o,e.mode,u)).return=e,e=r}return l(e)}if("string"===typeof o||"number"===typeof o)return o=""+o,null!==r&&6===r.tag?(n(e,r.sibling),(r=a(r,o)).return=e,e=r):(n(e,r),(r=Qu(o,e.mode,u)).return=e,e=r),l(e);if(So(o))return m(e,r,o,u);if(V(o))return h(e,r,o,u);if(s&&Co(e,o),"undefined"===typeof o&&!c)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(i(152,X(e.type)||"Component"))}return n(e,r)}}var No=xo(!0),Oo=xo(!1),Po={},To=ca(Po),Lo=ca(Po),Mo=ca(Po);function Ao(e){if(e===Po)throw Error(i(174));return e}function Ro(e,t){switch(da(Mo,t),da(Lo,e),da(To,Po),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ve(null,"");break;default:t=ve(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}sa(To),da(To,t)}function Io(){sa(To),sa(Lo),sa(Mo)}function Bo(e){Ao(Mo.current);var t=Ao(To.current),n=ve(t,e.type);t!==n&&(da(Lo,e),da(To,n))}function zo(e){Lo.current===e&&(sa(To),sa(Lo))}var jo=ca(0);function Do(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!==(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Ho=null,Wo=null,Vo=!1;function Fo(e,t){var n=Uu(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Uo(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Ko(e){if(Vo){var t=Wo;if(t){var n=t;if(!Uo(e,t)){if(!(t=Yr(n.nextSibling))||!Uo(e,t))return e.flags=-1025&e.flags|2,Vo=!1,void(Ho=e);Fo(Ho,n)}Ho=e,Wo=Yr(t.firstChild)}else e.flags=-1025&e.flags|2,Vo=!1,Ho=e}}function Go(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Ho=e}function Xo(e){if(e!==Ho)return!1;if(!Vo)return Go(e),Vo=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Ur(t,e.memoizedProps))for(t=Wo;t;)Fo(e,t),t=Yr(t.nextSibling);if(Go(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Wo=Yr(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Wo=null}}else Wo=Ho?Yr(e.stateNode.nextSibling):null;return!0}function Yo(){Wo=Ho=null,Vo=!1}var qo=[];function Qo(){for(var e=0;e<qo.length;e++)qo[e]._workInProgressVersionPrimary=null;qo.length=0}var $o=k.ReactCurrentDispatcher,Zo=k.ReactCurrentBatchConfig,Jo=0,ei=null,ti=null,ni=null,ri=!1,ai=!1;function oi(){throw Error(i(321))}function ii(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function li(e,t,n,r,a,o){if(Jo=o,ei=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,$o.current=null===e||null===e.memoizedState?Ai:Ri,e=n(r,a),ai){o=0;do{if(ai=!1,!(25>o))throw Error(i(301));o+=1,ni=ti=null,t.updateQueue=null,$o.current=Ii,e=n(r,a)}while(ai)}if($o.current=Mi,t=null!==ti&&null!==ti.next,Jo=0,ni=ti=ei=null,ri=!1,t)throw Error(i(300));return e}function ui(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ni?ei.memoizedState=ni=e:ni=ni.next=e,ni}function ci(){if(null===ti){var e=ei.alternate;e=null!==e?e.memoizedState:null}else e=ti.next;var t=null===ni?ei.memoizedState:ni.next;if(null!==t)ni=t,ti=e;else{if(null===e)throw Error(i(310));e={memoizedState:(ti=e).memoizedState,baseState:ti.baseState,baseQueue:ti.baseQueue,queue:ti.queue,next:null},null===ni?ei.memoizedState=ni=e:ni=ni.next=e}return ni}function si(e,t){return"function"===typeof t?t(e):t}function di(e){var t=ci(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=ti,a=r.baseQueue,o=n.pending;if(null!==o){if(null!==a){var l=a.next;a.next=o.next,o.next=l}r.baseQueue=a=o,n.pending=null}if(null!==a){a=a.next,r=r.baseState;var u=l=o=null,c=a;do{var s=c.lane;if((Jo&s)===s)null!==u&&(u=u.next={lane:0,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),r=c.eagerReducer===e?c.eagerState:e(r,c.action);else{var d={lane:s,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===u?(l=u=d,o=r):u=u.next=d,ei.lanes|=s,Wl|=s}c=c.next}while(null!==c&&c!==a);null===u?o=r:u.next=l,sr(r,t.memoizedState)||(zi=!0),t.memoizedState=r,t.baseState=o,t.baseQueue=u,n.lastRenderedState=r}return[t.memoizedState,n.dispatch]}function fi(e){var t=ci(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,o=t.memoizedState;if(null!==a){n.pending=null;var l=a=a.next;do{o=e(o,l.action),l=l.next}while(l!==a);sr(o,t.memoizedState)||(zi=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function pi(e,t,n){var r=t._getVersion;r=r(t._source);var a=t._workInProgressVersionPrimary;if(null!==a?e=a===r:(e=e.mutableReadLanes,(e=(Jo&e)===e)&&(t._workInProgressVersionPrimary=r,qo.push(t))),e)return n(t._source);throw qo.push(t),Error(i(350))}function vi(e,t,n,r){var a=Al;if(null===a)throw Error(i(349));var o=t._getVersion,l=o(t._source),u=$o.current,c=u.useState((function(){return pi(a,t,n)})),s=c[1],d=c[0];c=ni;var f=e.memoizedState,p=f.refs,v=p.getSnapshot,m=f.source;f=f.subscribe;var h=ei;return e.memoizedState={refs:p,source:t,subscribe:r},u.useEffect((function(){p.getSnapshot=n,p.setSnapshot=s;var e=o(t._source);if(!sr(l,e)){e=n(t._source),sr(d,e)||(s(e),e=pu(h),a.mutableReadLanes|=e&a.pendingLanes),e=a.mutableReadLanes,a.entangledLanes|=e;for(var r=a.entanglements,i=e;0<i;){var u=31-Ut(i),c=1<<u;r[u]|=e,i&=~c}}}),[n,t,r]),u.useEffect((function(){return r(t._source,(function(){var e=p.getSnapshot,n=p.setSnapshot;try{n(e(t._source));var r=pu(h);a.mutableReadLanes|=r&a.pendingLanes}catch(o){n((function(){throw o}))}}))}),[t,r]),sr(v,n)&&sr(m,t)&&sr(f,r)||((e={pending:null,dispatch:null,lastRenderedReducer:si,lastRenderedState:d}).dispatch=s=Li.bind(null,ei,e),c.queue=e,c.baseQueue=null,d=pi(a,t,n),c.memoizedState=c.baseState=d),d}function mi(e,t,n){return vi(ci(),e,t,n)}function hi(e){var t=ui();return"function"===typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:si,lastRenderedState:e}).dispatch=Li.bind(null,ei,e),[t.memoizedState,e]}function gi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ei.updateQueue)?(t={lastEffect:null},ei.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function yi(e){return e={current:e},ui().memoizedState=e}function bi(){return ci().memoizedState}function wi(e,t,n,r){var a=ui();ei.flags|=e,a.memoizedState=gi(1|t,n,void 0,void 0===r?null:r)}function ki(e,t,n,r){var a=ci();r=void 0===r?null:r;var o=void 0;if(null!==ti){var i=ti.memoizedState;if(o=i.destroy,null!==r&&ii(r,i.deps))return void gi(t,n,o,r)}ei.flags|=e,a.memoizedState=gi(1|t,n,o,r)}function Ei(e,t){return wi(516,4,e,t)}function Si(e,t){return ki(516,4,e,t)}function _i(e,t){return ki(4,2,e,t)}function Ci(e,t){return"function"===typeof t?(e=e(),t(e),function(){t(null)}):null!==t&&void 0!==t?(e=e(),t.current=e,function(){t.current=null}):void 0}function xi(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,ki(4,2,Ci.bind(null,t,e),n)}function Ni(){}function Oi(e,t){var n=ci();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ii(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Pi(e,t){var n=ci();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ii(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ti(e,t){var n=Ua();Ga(98>n?98:n,(function(){e(!0)})),Ga(97<n?97:n,(function(){var n=Zo.transition;Zo.transition=1;try{e(!1),t()}finally{Zo.transition=n}}))}function Li(e,t,n){var r=fu(),a=pu(e),o={lane:a,action:n,eagerReducer:null,eagerState:null,next:null},i=t.pending;if(null===i?o.next=o:(o.next=i.next,i.next=o),t.pending=o,i=e.alternate,e===ei||null!==i&&i===ei)ai=ri=!0;else{if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var l=t.lastRenderedState,u=i(l,n);if(o.eagerReducer=i,o.eagerState=u,sr(u,l))return}catch(c){}vu(e,a,r)}}var Mi={readContext:io,useCallback:oi,useContext:oi,useEffect:oi,useImperativeHandle:oi,useLayoutEffect:oi,useMemo:oi,useReducer:oi,useRef:oi,useState:oi,useDebugValue:oi,useDeferredValue:oi,useTransition:oi,useMutableSource:oi,useOpaqueIdentifier:oi,unstable_isNewReconciler:!1},Ai={readContext:io,useCallback:function(e,t){return ui().memoizedState=[e,void 0===t?null:t],e},useContext:io,useEffect:Ei,useImperativeHandle:function(e,t,n){return n=null!==n&&void 0!==n?n.concat([e]):null,wi(4,2,Ci.bind(null,t,e),n)},useLayoutEffect:function(e,t){return wi(4,2,e,t)},useMemo:function(e,t){var n=ui();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ui();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e=(e=r.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=Li.bind(null,ei,e),[r.memoizedState,e]},useRef:yi,useState:hi,useDebugValue:Ni,useDeferredValue:function(e){var t=hi(e),n=t[0],r=t[1];return Ei((function(){var t=Zo.transition;Zo.transition=1;try{r(e)}finally{Zo.transition=t}}),[e]),n},useTransition:function(){var e=hi(!1),t=e[0];return yi(e=Ti.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var r=ui();return r.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},vi(r,e,t,n)},useOpaqueIdentifier:function(){if(Vo){var e=!1,t=function(e){return{$$typeof:I,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(Qr++).toString(36))),Error(i(355))})),n=hi(t)[1];return 0===(2&ei.mode)&&(ei.flags|=516,gi(5,(function(){n("r:"+(Qr++).toString(36))}),void 0,null)),t}return hi(t="r:"+(Qr++).toString(36)),t},unstable_isNewReconciler:!1},Ri={readContext:io,useCallback:Oi,useContext:io,useEffect:Si,useImperativeHandle:xi,useLayoutEffect:_i,useMemo:Pi,useReducer:di,useRef:bi,useState:function(){return di(si)},useDebugValue:Ni,useDeferredValue:function(e){var t=di(si),n=t[0],r=t[1];return Si((function(){var t=Zo.transition;Zo.transition=1;try{r(e)}finally{Zo.transition=t}}),[e]),n},useTransition:function(){var e=di(si)[0];return[bi().current,e]},useMutableSource:mi,useOpaqueIdentifier:function(){return di(si)[0]},unstable_isNewReconciler:!1},Ii={readContext:io,useCallback:Oi,useContext:io,useEffect:Si,useImperativeHandle:xi,useLayoutEffect:_i,useMemo:Pi,useReducer:fi,useRef:bi,useState:function(){return fi(si)},useDebugValue:Ni,useDeferredValue:function(e){var t=fi(si),n=t[0],r=t[1];return Si((function(){var t=Zo.transition;Zo.transition=1;try{r(e)}finally{Zo.transition=t}}),[e]),n},useTransition:function(){var e=fi(si)[0];return[bi().current,e]},useMutableSource:mi,useOpaqueIdentifier:function(){return fi(si)[0]},unstable_isNewReconciler:!1},Bi=k.ReactCurrentOwner,zi=!1;function ji(e,t,n,r){t.child=null===e?Oo(t,null,n,r):No(t,e.child,n,r)}function Di(e,t,n,r,a){n=n.render;var o=t.ref;return oo(t,a),r=li(e,t,n,r,o,a),null===e||zi?(t.flags|=1,ji(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~a,ol(e,t,a))}function Hi(e,t,n,r,a,o){if(null===e){var i=n.type;return"function"!==typeof i||Ku(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Xu(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Wi(e,t,i,r,a,o))}return i=e.child,0===(a&o)&&(a=i.memoizedProps,(n=null!==(n=n.compare)?n:fr)(a,r)&&e.ref===t.ref)?ol(e,t,o):(t.flags|=1,(e=Gu(i,r)).ref=t.ref,e.return=t,t.child=e)}function Wi(e,t,n,r,a,o){if(null!==e&&fr(e.memoizedProps,r)&&e.ref===t.ref){if(zi=!1,0===(o&a))return t.lanes=e.lanes,ol(e,t,o);0!==(16384&e.flags)&&(zi=!0)}return Ui(e,t,n,r,o)}function Vi(e,t,n){var r=t.pendingProps,a=r.children,o=null!==e?e.memoizedState:null;if("hidden"===r.mode||"unstable-defer-without-hiding"===r.mode)if(0===(4&t.mode))t.memoizedState={baseLanes:0},Eu(t,n);else{if(0===(1073741824&n))return e=null!==o?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},Eu(t,e),null;t.memoizedState={baseLanes:0},Eu(t,null!==o?o.baseLanes:n)}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Eu(t,r);return ji(e,t,a,n),t.child}function Fi(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Ui(e,t,n,r,a){var o=ga(n)?ma:pa.current;return o=ha(t,o),oo(t,a),n=li(e,t,n,r,o,a),null===e||zi?(t.flags|=1,ji(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~a,ol(e,t,a))}function Ki(e,t,n,r,a){if(ga(n)){var o=!0;ka(t)}else o=!1;if(oo(t,a),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),wo(t,n,r),Eo(t,n,r,a),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var u=i.context,c=n.contextType;"object"===typeof c&&null!==c?c=io(c):c=ha(t,c=ga(n)?ma:pa.current);var s=n.getDerivedStateFromProps,d="function"===typeof s||"function"===typeof i.getSnapshotBeforeUpdate;d||"function"!==typeof i.UNSAFE_componentWillReceiveProps&&"function"!==typeof i.componentWillReceiveProps||(l!==r||u!==c)&&ko(t,i,r,c),lo=!1;var f=t.memoizedState;i.state=f,vo(t,r,i,a),u=t.memoizedState,l!==r||f!==u||va.current||lo?("function"===typeof s&&(go(t,n,s,r),u=t.memoizedState),(l=lo||bo(t,n,l,r,f,u,c))?(d||"function"!==typeof i.UNSAFE_componentWillMount&&"function"!==typeof i.componentWillMount||("function"===typeof i.componentWillMount&&i.componentWillMount(),"function"===typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"===typeof i.componentDidMount&&(t.flags|=4)):("function"===typeof i.componentDidMount&&(t.flags|=4),t.memoizedProps=r,t.memoizedState=u),i.props=r,i.state=u,i.context=c,r=l):("function"===typeof i.componentDidMount&&(t.flags|=4),r=!1)}else{i=t.stateNode,co(e,t),l=t.memoizedProps,c=t.type===t.elementType?l:$a(t.type,l),i.props=c,d=t.pendingProps,f=i.context,"object"===typeof(u=n.contextType)&&null!==u?u=io(u):u=ha(t,u=ga(n)?ma:pa.current);var p=n.getDerivedStateFromProps;(s="function"===typeof p||"function"===typeof i.getSnapshotBeforeUpdate)||"function"!==typeof i.UNSAFE_componentWillReceiveProps&&"function"!==typeof i.componentWillReceiveProps||(l!==d||f!==u)&&ko(t,i,r,u),lo=!1,f=t.memoizedState,i.state=f,vo(t,r,i,a);var v=t.memoizedState;l!==d||f!==v||va.current||lo?("function"===typeof p&&(go(t,n,p,r),v=t.memoizedState),(c=lo||bo(t,n,c,r,f,v,u))?(s||"function"!==typeof i.UNSAFE_componentWillUpdate&&"function"!==typeof i.componentWillUpdate||("function"===typeof i.componentWillUpdate&&i.componentWillUpdate(r,v,u),"function"===typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,v,u)),"function"===typeof i.componentDidUpdate&&(t.flags|=4),"function"===typeof i.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!==typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),t.memoizedProps=r,t.memoizedState=v),i.props=r,i.state=v,i.context=u,r=c):("function"!==typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!==typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=256),r=!1)}return Gi(e,t,n,r,o,a)}function Gi(e,t,n,r,a,o){Fi(e,t);var i=0!==(64&t.flags);if(!r&&!i)return a&&Ea(t,n,!1),ol(e,t,o);r=t.stateNode,Bi.current=t;var l=i&&"function"!==typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=No(t,e.child,null,o),t.child=No(t,null,l,o)):ji(e,t,l,o),t.memoizedState=r.state,a&&Ea(t,n,!0),t.child}function Xi(e){var t=e.stateNode;t.pendingContext?ba(0,t.pendingContext,t.pendingContext!==t.context):t.context&&ba(0,t.context,!1),Ro(e,t.containerInfo)}var Yi,qi,Qi,$i={dehydrated:null,retryLane:0};function Zi(e,t,n){var r,a=t.pendingProps,o=jo.current,i=!1;return(r=0!==(64&t.flags))||(r=(null===e||null!==e.memoizedState)&&0!==(2&o)),r?(i=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===a.fallback||!0===a.unstable_avoidThisFallback||(o|=1),da(jo,1&o),null===e?(void 0!==a.fallback&&Ko(t),e=a.children,o=a.fallback,i?(e=Ji(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=$i,e):"number"===typeof a.unstable_expectedLoadTime?(e=Ji(t,e,o,n),t.child.memoizedState={baseLanes:n},t.memoizedState=$i,t.lanes=33554432,e):((n=qu({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,i?(a=tl(e,t,a.children,a.fallback,n),i=t.child,o=e.child.memoizedState,i.memoizedState=null===o?{baseLanes:n}:{baseLanes:o.baseLanes|n},i.childLanes=e.childLanes&~n,t.memoizedState=$i,a):(n=el(e,t,a.children,n),t.memoizedState=null,n))}function Ji(e,t,n,r){var a=e.mode,o=e.child;return t={mode:"hidden",children:t},0===(2&a)&&null!==o?(o.childLanes=0,o.pendingProps=t):o=qu(t,a,0,null),n=Yu(n,a,r,null),o.return=e,n.return=e,o.sibling=n,e.child=o,n}function el(e,t,n,r){var a=e.child;return e=a.sibling,n=Gu(a,{mode:"visible",children:n}),0===(2&t.mode)&&(n.lanes=r),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}function tl(e,t,n,r,a){var o=t.mode,i=e.child;e=i.sibling;var l={mode:"hidden",children:n};return 0===(2&o)&&t.child!==i?((n=t.child).childLanes=0,n.pendingProps=l,null!==(i=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=i,i.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Gu(i,l),null!==e?r=Gu(e,r):(r=Yu(r,o,a,null)).flags|=2,r.return=t,n.return=t,n.sibling=r,t.child=n,r}function nl(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),ao(e.return,t)}function rl(e,t,n,r,a,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:a,lastEffect:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=a,i.lastEffect=o)}function al(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(ji(e,t,r.children,n),0!==(2&(r=jo.current)))r=1&r|2,t.flags|=64;else{if(null!==e&&0!==(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&nl(e,n);else if(19===e.tag)nl(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(da(jo,r),0===(2&t.mode))t.memoizedState=null;else switch(a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===Do(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),rl(t,!1,a,n,o,t.lastEffect);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===Do(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}rl(t,!0,n,null,o,t.lastEffect);break;case"together":rl(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function ol(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Wl|=t.lanes,0!==(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Gu(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Gu(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function il(e,t){if(!Vo)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ll(e,t,n){var r=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return ga(t.type)&&ya(),null;case 3:return Io(),sa(va),sa(pa),Qo(),(r=t.stateNode).pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(Xo(t)?t.flags|=4:r.hydrate||(t.flags|=256)),null;case 5:zo(t);var o=Ao(Mo.current);if(n=t.type,null!==e&&null!=t.stateNode)qi(e,t,n,r),e.ref!==t.ref&&(t.flags|=128);else{if(!r){if(null===t.stateNode)throw Error(i(166));return null}if(e=Ao(To.current),Xo(t)){r=t.stateNode,n=t.type;var l=t.memoizedProps;switch(r[Zr]=t,r[Jr]=l,n){case"dialog":Tr("cancel",r),Tr("close",r);break;case"iframe":case"object":case"embed":Tr("load",r);break;case"video":case"audio":for(e=0;e<xr.length;e++)Tr(xr[e],r);break;case"source":Tr("error",r);break;case"img":case"image":case"link":Tr("error",r),Tr("load",r);break;case"details":Tr("toggle",r);break;case"input":ee(r,l),Tr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!l.multiple},Tr("invalid",r);break;case"textarea":ue(r,l),Tr("invalid",r)}for(var c in _e(n,l),e=null,l)l.hasOwnProperty(c)&&(o=l[c],"children"===c?"string"===typeof o?r.textContent!==o&&(e=["children",o]):"number"===typeof o&&r.textContent!==""+o&&(e=["children",""+o]):u.hasOwnProperty(c)&&null!=o&&"onScroll"===c&&Tr("scroll",r));switch(n){case"input":Q(r),re(r,l,!0);break;case"textarea":Q(r),se(r);break;case"select":case"option":break;default:"function"===typeof l.onClick&&(r.onclick=Hr)}r=e,t.updateQueue=r,null!==r&&(t.flags|=4)}else{switch(c=9===o.nodeType?o:o.ownerDocument,e===de&&(e=pe(n)),e===de?"script"===n?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"===typeof r.is?e=c.createElement(n,{is:r.is}):(e=c.createElement(n),"select"===n&&(c=e,r.multiple?c.multiple=!0:r.size&&(c.size=r.size))):e=c.createElementNS(e,n),e[Zr]=t,e[Jr]=r,Yi(e,t),t.stateNode=e,c=Ce(n,r),n){case"dialog":Tr("cancel",e),Tr("close",e),o=r;break;case"iframe":case"object":case"embed":Tr("load",e),o=r;break;case"video":case"audio":for(o=0;o<xr.length;o++)Tr(xr[o],e);o=r;break;case"source":Tr("error",e),o=r;break;case"img":case"image":case"link":Tr("error",e),Tr("load",e),o=r;break;case"details":Tr("toggle",e),o=r;break;case"input":ee(e,r),o=J(e,r),Tr("invalid",e);break;case"option":o=oe(e,r);break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=a({},r,{value:void 0}),Tr("invalid",e);break;case"textarea":ue(e,r),o=le(e,r),Tr("invalid",e);break;default:o=r}_e(n,o);var s=o;for(l in s)if(s.hasOwnProperty(l)){var d=s[l];"style"===l?Ee(e,d):"dangerouslySetInnerHTML"===l?null!=(d=d?d.__html:void 0)&&ge(e,d):"children"===l?"string"===typeof d?("textarea"!==n||""!==d)&&ye(e,d):"number"===typeof d&&ye(e,""+d):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(u.hasOwnProperty(l)?null!=d&&"onScroll"===l&&Tr("scroll",e):null!=d&&w(e,l,d,c))}switch(n){case"input":Q(e),re(e,r,!1);break;case"textarea":Q(e),se(e);break;case"option":null!=r.value&&e.setAttribute("value",""+Y(r.value));break;case"select":e.multiple=!!r.multiple,null!=(l=r.value)?ie(e,!!r.multiple,l,!1):null!=r.defaultValue&&ie(e,!!r.multiple,r.defaultValue,!0);break;default:"function"===typeof o.onClick&&(e.onclick=Hr)}Fr(n,r)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Qi(0,t,e.memoizedProps,r);else{if("string"!==typeof r&&null===t.stateNode)throw Error(i(166));n=Ao(Mo.current),Ao(To.current),Xo(t)?(r=t.stateNode,n=t.memoizedProps,r[Zr]=t,r.nodeValue!==n&&(t.flags|=4)):((r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[Zr]=t,t.stateNode=r)}return null;case 13:return sa(jo),r=t.memoizedState,0!==(64&t.flags)?(t.lanes=n,t):(r=null!==r,n=!1,null===e?void 0!==t.memoizedProps.fallback&&Xo(t):n=null!==e.memoizedState,r&&!n&&0!==(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!==(1&jo.current)?0===jl&&(jl=3):(0!==jl&&3!==jl||(jl=4),null===Al||0===(134217727&Wl)&&0===(134217727&Vl)||yu(Al,Il))),(r||n)&&(t.flags|=4),null);case 4:return Io(),null===e&&Mr(t.stateNode.containerInfo),null;case 10:return ro(t),null;case 19:if(sa(jo),null===(r=t.memoizedState))return null;if(l=0!==(64&t.flags),null===(c=r.rendering))if(l)il(r,!1);else{if(0!==jl||null!==e&&0!==(64&e.flags))for(e=t.child;null!==e;){if(null!==(c=Do(e))){for(t.flags|=64,il(r,!1),null!==(l=c.updateQueue)&&(t.updateQueue=l,t.flags|=4),null===r.lastEffect&&(t.firstEffect=null),t.lastEffect=r.lastEffect,r=n,n=t.child;null!==n;)e=r,(l=n).flags&=2,l.nextEffect=null,l.firstEffect=null,l.lastEffect=null,null===(c=l.alternate)?(l.childLanes=0,l.lanes=e,l.child=null,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=c.childLanes,l.lanes=c.lanes,l.child=c.child,l.memoizedProps=c.memoizedProps,l.memoizedState=c.memoizedState,l.updateQueue=c.updateQueue,l.type=c.type,e=c.dependencies,l.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return da(jo,1&jo.current|2),t.child}e=e.sibling}null!==r.tail&&Fa()>Gl&&(t.flags|=64,l=!0,il(r,!1),t.lanes=33554432)}else{if(!l)if(null!==(e=Do(c))){if(t.flags|=64,l=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),il(r,!0),null===r.tail&&"hidden"===r.tailMode&&!c.alternate&&!Vo)return null!==(t=t.lastEffect=r.lastEffect)&&(t.nextEffect=null),null}else 2*Fa()-r.renderingStartTime>Gl&&1073741824!==n&&(t.flags|=64,l=!0,il(r,!1),t.lanes=33554432);r.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=r.last)?n.sibling=c:t.child=c,r.last=c)}return null!==r.tail?(n=r.tail,r.rendering=n,r.tail=n.sibling,r.lastEffect=t.lastEffect,r.renderingStartTime=Fa(),n.sibling=null,t=jo.current,da(jo,l?1&t|2:1&t),n):null;case 23:case 24:return Su(),null!==e&&null!==e.memoizedState!==(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==r.mode&&(t.flags|=4),null}throw Error(i(156,t.tag))}function ul(e){switch(e.tag){case 1:ga(e.type)&&ya();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(Io(),sa(va),sa(pa),Qo(),0!==(64&(t=e.flags)))throw Error(i(285));return e.flags=-4097&t|64,e;case 5:return zo(e),null;case 13:return sa(jo),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return sa(jo),null;case 4:return Io(),null;case 10:return ro(e),null;case 23:case 24:return Su(),null;default:return null}}function cl(e,t){try{var n="",r=t;do{n+=G(r),r=r.return}while(r);var a=n}catch(o){a="\nError generating stack: "+o.message+"\n"+o.stack}return{value:e,source:t,stack:a}}function sl(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}Yi=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},qi=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,Ao(To.current);var i,l=null;switch(n){case"input":o=J(e,o),r=J(e,r),l=[];break;case"option":o=oe(e,o),r=oe(e,r),l=[];break;case"select":o=a({},o,{value:void 0}),r=a({},r,{value:void 0}),l=[];break;case"textarea":o=le(e,o),r=le(e,r),l=[];break;default:"function"!==typeof o.onClick&&"function"===typeof r.onClick&&(e.onclick=Hr)}for(d in _e(n,r),n=null,o)if(!r.hasOwnProperty(d)&&o.hasOwnProperty(d)&&null!=o[d])if("style"===d){var c=o[d];for(i in c)c.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==d&&"children"!==d&&"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&"autoFocus"!==d&&(u.hasOwnProperty(d)?l||(l=[]):(l=l||[]).push(d,null));for(d in r){var s=r[d];if(c=null!=o?o[d]:void 0,r.hasOwnProperty(d)&&s!==c&&(null!=s||null!=c))if("style"===d)if(c){for(i in c)!c.hasOwnProperty(i)||s&&s.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in s)s.hasOwnProperty(i)&&c[i]!==s[i]&&(n||(n={}),n[i]=s[i])}else n||(l||(l=[]),l.push(d,n)),n=s;else"dangerouslySetInnerHTML"===d?(s=s?s.__html:void 0,c=c?c.__html:void 0,null!=s&&c!==s&&(l=l||[]).push(d,s)):"children"===d?"string"!==typeof s&&"number"!==typeof s||(l=l||[]).push(d,""+s):"suppressContentEditableWarning"!==d&&"suppressHydrationWarning"!==d&&(u.hasOwnProperty(d)?(null!=s&&"onScroll"===d&&Tr("scroll",e),l||c===s||(l=[])):"object"===typeof s&&null!==s&&s.$$typeof===I?s.toString():(l=l||[]).push(d,s))}n&&(l=l||[]).push("style",n);var d=l;(t.updateQueue=d)&&(t.flags|=4)}},Qi=function(e,t,n,r){n!==r&&(t.flags|=4)};var dl="function"===typeof WeakMap?WeakMap:Map;function fl(e,t,n){(n=so(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Ql||(Ql=!0,$l=r),sl(0,t)},n}function pl(e,t,n){(n=so(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"===typeof r){var a=t.value;n.payload=function(){return sl(0,t),r(a)}}var o=e.stateNode;return null!==o&&"function"===typeof o.componentDidCatch&&(n.callback=function(){"function"!==typeof r&&(null===Zl?Zl=new Set([this]):Zl.add(this),sl(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var vl="function"===typeof WeakSet?WeakSet:Set;function ml(e){var t=e.ref;if(null!==t)if("function"===typeof t)try{t(null)}catch(n){Hu(e,n)}else t.current=null}function hl(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,r=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:$a(t.type,n),r),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Xr(t.stateNode.containerInfo))}throw Error(i(163))}function gl(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3===(3&e.tag)){var r=e.create;e.destroy=r()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var a=e;r=a.next,0!==(4&(a=a.tag))&&0!==(1&a)&&(zu(n,e),Bu(n,e)),e=r}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(r=n.elementType===n.type?t.memoizedProps:$a(n.type,t.memoizedProps),e.componentDidUpdate(r,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&mo(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}mo(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Fr(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&Et(n)))))}throw Error(i(163))}function yl(e,t){for(var n=e;;){if(5===n.tag){var r=n.stateNode;if(t)"function"===typeof(r=r.style).setProperty?r.setProperty("display","none","important"):r.display="none";else{r=n.stateNode;var a=n.memoizedProps.style;a=void 0!==a&&null!==a&&a.hasOwnProperty("display")?a.display:null,r.style.display=ke("display",a)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function bl(e,t){if(_a&&"function"===typeof _a.onCommitFiberUnmount)try{_a.onCommitFiberUnmount(Sa,t)}catch(o){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var r=n,a=r.destroy;if(r=r.tag,void 0!==a)if(0!==(4&r))zu(t,n);else{r=t;try{a()}catch(o){Hu(r,o)}}n=n.next}while(n!==e)}break;case 1:if(ml(t),"function"===typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(o){Hu(t,o)}break;case 5:ml(t);break;case 4:Cl(e,t)}}function wl(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function kl(e){return 5===e.tag||3===e.tag||4===e.tag}function El(e){e:{for(var t=e.return;null!==t;){if(kl(t))break e;t=t.return}throw Error(i(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var r=!1;break;case 3:case 4:t=t.containerInfo,r=!0;break;default:throw Error(i(161))}16&n.flags&&(ye(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||kl(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}r?Sl(e,n,t):_l(e,n,t)}function Sl(e,t,n){var r=e.tag,a=5===r||6===r;if(a)e=a?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!==(n=n._reactRootContainer)&&void 0!==n||null!==t.onclick||(t.onclick=Hr));else if(4!==r&&null!==(e=e.child))for(Sl(e,t,n),e=e.sibling;null!==e;)Sl(e,t,n),e=e.sibling}function _l(e,t,n){var r=e.tag,a=5===r||6===r;if(a)e=a?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(_l(e,t,n),e=e.sibling;null!==e;)_l(e,t,n),e=e.sibling}function Cl(e,t){for(var n,r,a=t,o=!1;;){if(!o){o=a.return;e:for(;;){if(null===o)throw Error(i(160));switch(n=o.stateNode,o.tag){case 5:r=!1;break e;case 3:case 4:n=n.containerInfo,r=!0;break e}o=o.return}o=!0}if(5===a.tag||6===a.tag){e:for(var l=e,u=a,c=u;;)if(bl(l,c),null!==c.child&&4!==c.tag)c.child.return=c,c=c.child;else{if(c===u)break e;for(;null===c.sibling;){if(null===c.return||c.return===u)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}r?(l=n,u=a.stateNode,8===l.nodeType?l.parentNode.removeChild(u):l.removeChild(u)):n.removeChild(a.stateNode)}else if(4===a.tag){if(null!==a.child){n=a.stateNode.containerInfo,r=!0,a.child.return=a,a=a.child;continue}}else if(bl(e,a),null!==a.child){a.child.return=a,a=a.child;continue}if(a===t)break;for(;null===a.sibling;){if(null===a.return||a.return===t)return;4===(a=a.return).tag&&(o=!1)}a.sibling.return=a.return,a=a.sibling}}function xl(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var r=n=n.next;do{3===(3&r.tag)&&(e=r.destroy,r.destroy=void 0,void 0!==e&&e()),r=r.next}while(r!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){r=t.memoizedProps;var a=null!==e?e.memoizedProps:r;e=t.type;var o=t.updateQueue;if(t.updateQueue=null,null!==o){for(n[Jr]=r,"input"===e&&"radio"===r.type&&null!=r.name&&te(n,r),Ce(e,a),t=Ce(e,r),a=0;a<o.length;a+=2){var l=o[a],u=o[a+1];"style"===l?Ee(n,u):"dangerouslySetInnerHTML"===l?ge(n,u):"children"===l?ye(n,u):w(n,l,u,t)}switch(e){case"input":ne(n,r);break;case"textarea":ce(n,r);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!r.multiple,null!=(o=r.value)?ie(n,!!r.multiple,o,!1):e!==!!r.multiple&&(null!=r.defaultValue?ie(n,!!r.multiple,r.defaultValue,!0):ie(n,!!r.multiple,r.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(i(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,Et(n.containerInfo)));case 13:return null!==t.memoizedState&&(Kl=Fa(),yl(t.child,!0)),void Nl(t);case 19:return void Nl(t);case 23:case 24:return void yl(t,null!==t.memoizedState)}throw Error(i(163))}function Nl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new vl),t.forEach((function(t){var r=Vu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function Ol(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&(null!==(t=t.memoizedState)&&null===t.dehydrated)}var Pl=Math.ceil,Tl=k.ReactCurrentDispatcher,Ll=k.ReactCurrentOwner,Ml=0,Al=null,Rl=null,Il=0,Bl=0,zl=ca(0),jl=0,Dl=null,Hl=0,Wl=0,Vl=0,Fl=0,Ul=null,Kl=0,Gl=1/0;function Xl(){Gl=Fa()+500}var Yl,ql=null,Ql=!1,$l=null,Zl=null,Jl=!1,eu=null,tu=90,nu=[],ru=[],au=null,ou=0,iu=null,lu=-1,uu=0,cu=0,su=null,du=!1;function fu(){return 0!==(48&Ml)?Fa():-1!==lu?lu:lu=Fa()}function pu(e){if(0===(2&(e=e.mode)))return 1;if(0===(4&e))return 99===Ua()?1:2;if(0===uu&&(uu=Hl),0!==Qa.transition){0!==cu&&(cu=null!==Ul?Ul.pendingLanes:0),e=uu;var t=4186112&~cu;return 0===(t&=-t)&&(0===(t=(e=4186112&~e)&-e)&&(t=8192)),t}return e=Ua(),0!==(4&Ml)&&98===e?e=Ht(12,uu):e=Ht(e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),uu),e}function vu(e,t,n){if(50<ou)throw ou=0,iu=null,Error(i(185));if(null===(e=mu(e,t)))return null;Ft(e,t,n),e===Al&&(Vl|=t,4===jl&&yu(e,Il));var r=Ua();1===t?0!==(8&Ml)&&0===(48&Ml)?bu(e):(hu(e,n),0===Ml&&(Xl(),Ya())):(0===(4&Ml)||98!==r&&99!==r||(null===au?au=new Set([e]):au.add(e)),hu(e,n)),Ul=e}function mu(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function hu(e,t){for(var n=e.callbackNode,r=e.suspendedLanes,a=e.pingedLanes,o=e.expirationTimes,l=e.pendingLanes;0<l;){var u=31-Ut(l),c=1<<u,s=o[u];if(-1===s){if(0===(c&r)||0!==(c&a)){s=t,zt(c);var d=Bt;o[u]=10<=d?s+250:6<=d?s+5e3:-1}}else s<=t&&(e.expiredLanes|=c);l&=~c}if(r=jt(e,e===Al?Il:0),t=Bt,0===r)null!==n&&(n!==za&&Na(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==za&&Na(n)}15===t?(n=bu.bind(null,e),null===Da?(Da=[n],Ha=xa(Ma,qa)):Da.push(n),n=za):14===t?n=Xa(99,bu.bind(null,e)):(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(i(358,e))}}(t),n=Xa(n,gu.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function gu(e){if(lu=-1,cu=uu=0,0!==(48&Ml))throw Error(i(327));var t=e.callbackNode;if(Iu()&&e.callbackNode!==t)return null;var n=jt(e,e===Al?Il:0);if(0===n)return null;var r=n,a=Ml;Ml|=16;var o=xu();for(Al===e&&Il===r||(Xl(),_u(e,r));;)try{Pu();break}catch(u){Cu(e,u)}if(no(),Tl.current=o,Ml=a,null!==Rl?r=0:(Al=null,Il=0,r=jl),0!==(Hl&Vl))_u(e,0);else if(0!==r){if(2===r&&(Ml|=64,e.hydrate&&(e.hydrate=!1,Xr(e.containerInfo)),0!==(n=Dt(e))&&(r=Nu(e,n))),1===r)throw t=Dl,_u(e,0),yu(e,n),hu(e,Fa()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,r){case 0:case 1:throw Error(i(345));case 2:case 5:Mu(e);break;case 3:if(yu(e,n),(62914560&n)===n&&10<(r=Kl+500-Fa())){if(0!==jt(e,0))break;if(((a=e.suspendedLanes)&n)!==n){fu(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=Kr(Mu.bind(null,e),r);break}Mu(e);break;case 4:if(yu(e,n),(4186112&n)===n)break;for(r=e.eventTimes,a=-1;0<n;){var l=31-Ut(n);o=1<<l,(l=r[l])>a&&(a=l),n&=~o}if(n=a,10<(n=(120>(n=Fa()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Pl(n/1960))-n)){e.timeoutHandle=Kr(Mu.bind(null,e),n);break}Mu(e);break;default:throw Error(i(329))}}return hu(e,Fa()),e.callbackNode===t?gu.bind(null,e):null}function yu(e,t){for(t&=~Fl,t&=~Vl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Ut(t),r=1<<n;e[n]=-1,t&=~r}}function bu(e){if(0!==(48&Ml))throw Error(i(327));if(Iu(),e===Al&&0!==(e.expiredLanes&Il)){var t=Il,n=Nu(e,t);0!==(Hl&Vl)&&(n=Nu(e,t=jt(e,t)))}else n=Nu(e,t=jt(e,0));if(0!==e.tag&&2===n&&(Ml|=64,e.hydrate&&(e.hydrate=!1,Xr(e.containerInfo)),0!==(t=Dt(e))&&(n=Nu(e,t))),1===n)throw n=Dl,_u(e,0),yu(e,t),hu(e,Fa()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Mu(e),hu(e,Fa()),null}function wu(e,t){var n=Ml;Ml|=1;try{return e(t)}finally{0===(Ml=n)&&(Xl(),Ya())}}function ku(e,t){var n=Ml;Ml&=-2,Ml|=8;try{return e(t)}finally{0===(Ml=n)&&(Xl(),Ya())}}function Eu(e,t){da(zl,Bl),Bl|=t,Hl|=t}function Su(){Bl=zl.current,sa(zl)}function _u(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,Gr(n)),null!==Rl)for(n=Rl.return;null!==n;){var r=n;switch(r.tag){case 1:null!==(r=r.type.childContextTypes)&&void 0!==r&&ya();break;case 3:Io(),sa(va),sa(pa),Qo();break;case 5:zo(r);break;case 4:Io();break;case 13:case 19:sa(jo);break;case 10:ro(r);break;case 23:case 24:Su()}n=n.return}Al=e,Rl=Gu(e.current,null),Il=Bl=Hl=t,jl=0,Dl=null,Fl=Vl=Wl=0}function Cu(e,t){for(;;){var n=Rl;try{if(no(),$o.current=Mi,ri){for(var r=ei.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}ri=!1}if(Jo=0,ni=ti=ei=null,ai=!1,Ll.current=null,null===n||null===n.return){jl=1,Dl=t,Rl=null;break}e:{var o=e,i=n.return,l=n,u=t;if(t=Il,l.flags|=2048,l.firstEffect=l.lastEffect=null,null!==u&&"object"===typeof u&&"function"===typeof u.then){var c=u;if(0===(2&l.mode)){var s=l.alternate;s?(l.updateQueue=s.updateQueue,l.memoizedState=s.memoizedState,l.lanes=s.lanes):(l.updateQueue=null,l.memoizedState=null)}var d=0!==(1&jo.current),f=i;do{var p;if(p=13===f.tag){var v=f.memoizedState;if(null!==v)p=null!==v.dehydrated;else{var m=f.memoizedProps;p=void 0!==m.fallback&&(!0!==m.unstable_avoidThisFallback||!d)}}if(p){var h=f.updateQueue;if(null===h){var g=new Set;g.add(c),f.updateQueue=g}else h.add(c);if(0===(2&f.mode)){if(f.flags|=64,l.flags|=16384,l.flags&=-2981,1===l.tag)if(null===l.alternate)l.tag=17;else{var y=so(-1,1);y.tag=2,fo(l,y)}l.lanes|=1;break e}u=void 0,l=t;var b=o.pingCache;if(null===b?(b=o.pingCache=new dl,u=new Set,b.set(c,u)):void 0===(u=b.get(c))&&(u=new Set,b.set(c,u)),!u.has(l)){u.add(l);var w=Wu.bind(null,o,c,l);c.then(w,w)}f.flags|=4096,f.lanes=t;break e}f=f.return}while(null!==f);u=Error((X(l.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==jl&&(jl=2),u=cl(u,l),f=i;do{switch(f.tag){case 3:o=u,f.flags|=4096,t&=-t,f.lanes|=t,po(f,fl(0,o,t));break e;case 1:o=u;var k=f.type,E=f.stateNode;if(0===(64&f.flags)&&("function"===typeof k.getDerivedStateFromError||null!==E&&"function"===typeof E.componentDidCatch&&(null===Zl||!Zl.has(E)))){f.flags|=4096,t&=-t,f.lanes|=t,po(f,pl(f,o,t));break e}}f=f.return}while(null!==f)}Lu(n)}catch(S){t=S,Rl===n&&null!==n&&(Rl=n=n.return);continue}break}}function xu(){var e=Tl.current;return Tl.current=Mi,null===e?Mi:e}function Nu(e,t){var n=Ml;Ml|=16;var r=xu();for(Al===e&&Il===t||_u(e,t);;)try{Ou();break}catch(a){Cu(e,a)}if(no(),Ml=n,Tl.current=r,null!==Rl)throw Error(i(261));return Al=null,Il=0,jl}function Ou(){for(;null!==Rl;)Tu(Rl)}function Pu(){for(;null!==Rl&&!Oa();)Tu(Rl)}function Tu(e){var t=Yl(e.alternate,e,Bl);e.memoizedProps=e.pendingProps,null===t?Lu(e):Rl=t,Ll.current=null}function Lu(e){var t=e;do{var n=t.alternate;if(e=t.return,0===(2048&t.flags)){if(null!==(n=ll(n,t,Bl)))return void(Rl=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!==(1073741824&Bl)||0===(4&n.mode)){for(var r=0,a=n.child;null!==a;)r|=a.lanes|a.childLanes,a=a.sibling;n.childLanes=r}null!==e&&0===(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=ul(t)))return n.flags&=2047,void(Rl=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Rl=t);Rl=t=e}while(null!==t);0===jl&&(jl=5)}function Mu(e){var t=Ua();return Ga(99,Au.bind(null,e,t)),null}function Au(e,t){do{Iu()}while(null!==eu);if(0!==(48&Ml))throw Error(i(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null;var r=n.lanes|n.childLanes,a=r,o=e.pendingLanes&~a;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=a,e.mutableReadLanes&=a,e.entangledLanes&=a,a=e.entanglements;for(var l=e.eventTimes,u=e.expirationTimes;0<o;){var c=31-Ut(o),s=1<<c;a[c]=0,l[c]=-1,u[c]=-1,o&=~s}if(null!==au&&0===(24&r)&&au.has(e)&&au.delete(e),e===Al&&(Rl=Al=null,Il=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,r=n.firstEffect):r=n:r=n.firstEffect,null!==r){if(a=Ml,Ml|=32,Ll.current=null,Wr=qt,gr(l=hr())){if("selectionStart"in l)u={start:l.selectionStart,end:l.selectionEnd};else e:if(u=(u=l.ownerDocument)&&u.defaultView||window,(s=u.getSelection&&u.getSelection())&&0!==s.rangeCount){u=s.anchorNode,o=s.anchorOffset,c=s.focusNode,s=s.focusOffset;try{u.nodeType,c.nodeType}catch(x){u=null;break e}var d=0,f=-1,p=-1,v=0,m=0,h=l,g=null;t:for(;;){for(var y;h!==u||0!==o&&3!==h.nodeType||(f=d+o),h!==c||0!==s&&3!==h.nodeType||(p=d+s),3===h.nodeType&&(d+=h.nodeValue.length),null!==(y=h.firstChild);)g=h,h=y;for(;;){if(h===l)break t;if(g===u&&++v===o&&(f=d),g===c&&++m===s&&(p=d),null!==(y=h.nextSibling))break;g=(h=g).parentNode}h=y}u=-1===f||-1===p?null:{start:f,end:p}}else u=null;u=u||{start:0,end:0}}else u=null;Vr={focusedElem:l,selectionRange:u},qt=!1,su=null,du=!1,ql=r;do{try{Ru()}catch(x){if(null===ql)throw Error(i(330));Hu(ql,x),ql=ql.nextEffect}}while(null!==ql);su=null,ql=r;do{try{for(l=e;null!==ql;){var b=ql.flags;if(16&b&&ye(ql.stateNode,""),128&b){var w=ql.alternate;if(null!==w){var k=w.ref;null!==k&&("function"===typeof k?k(null):k.current=null)}}switch(1038&b){case 2:El(ql),ql.flags&=-3;break;case 6:El(ql),ql.flags&=-3,xl(ql.alternate,ql);break;case 1024:ql.flags&=-1025;break;case 1028:ql.flags&=-1025,xl(ql.alternate,ql);break;case 4:xl(ql.alternate,ql);break;case 8:Cl(l,u=ql);var E=u.alternate;wl(u),null!==E&&wl(E)}ql=ql.nextEffect}}catch(x){if(null===ql)throw Error(i(330));Hu(ql,x),ql=ql.nextEffect}}while(null!==ql);if(k=Vr,w=hr(),b=k.focusedElem,l=k.selectionRange,w!==b&&b&&b.ownerDocument&&mr(b.ownerDocument.documentElement,b)){null!==l&&gr(b)&&(w=l.start,void 0===(k=l.end)&&(k=w),"selectionStart"in b?(b.selectionStart=w,b.selectionEnd=Math.min(k,b.value.length)):(k=(w=b.ownerDocument||document)&&w.defaultView||window).getSelection&&(k=k.getSelection(),u=b.textContent.length,E=Math.min(l.start,u),l=void 0===l.end?E:Math.min(l.end,u),!k.extend&&E>l&&(u=l,l=E,E=u),u=vr(b,E),o=vr(b,l),u&&o&&(1!==k.rangeCount||k.anchorNode!==u.node||k.anchorOffset!==u.offset||k.focusNode!==o.node||k.focusOffset!==o.offset)&&((w=w.createRange()).setStart(u.node,u.offset),k.removeAllRanges(),E>l?(k.addRange(w),k.extend(o.node,o.offset)):(w.setEnd(o.node,o.offset),k.addRange(w))))),w=[];for(k=b;k=k.parentNode;)1===k.nodeType&&w.push({element:k,left:k.scrollLeft,top:k.scrollTop});for("function"===typeof b.focus&&b.focus(),b=0;b<w.length;b++)(k=w[b]).element.scrollLeft=k.left,k.element.scrollTop=k.top}qt=!!Wr,Vr=Wr=null,e.current=n,ql=r;do{try{for(b=e;null!==ql;){var S=ql.flags;if(36&S&&gl(b,ql.alternate,ql),128&S){w=void 0;var _=ql.ref;if(null!==_){var C=ql.stateNode;ql.tag,w=C,"function"===typeof _?_(w):_.current=w}}ql=ql.nextEffect}}catch(x){if(null===ql)throw Error(i(330));Hu(ql,x),ql=ql.nextEffect}}while(null!==ql);ql=null,ja(),Ml=a}else e.current=n;if(Jl)Jl=!1,eu=e,tu=t;else for(ql=r;null!==ql;)t=ql.nextEffect,ql.nextEffect=null,8&ql.flags&&((S=ql).sibling=null,S.stateNode=null),ql=t;if(0===(r=e.pendingLanes)&&(Zl=null),1===r?e===iu?ou++:(ou=0,iu=e):ou=0,n=n.stateNode,_a&&"function"===typeof _a.onCommitFiberRoot)try{_a.onCommitFiberRoot(Sa,n,void 0,64===(64&n.current.flags))}catch(x){}if(hu(e,Fa()),Ql)throw Ql=!1,e=$l,$l=null,e;return 0!==(8&Ml)||Ya(),null}function Ru(){for(;null!==ql;){var e=ql.alternate;du||null===su||(0!==(8&ql.flags)?et(ql,su)&&(du=!0):13===ql.tag&&Ol(e,ql)&&et(ql,su)&&(du=!0));var t=ql.flags;0!==(256&t)&&hl(e,ql),0===(512&t)||Jl||(Jl=!0,Xa(97,(function(){return Iu(),null}))),ql=ql.nextEffect}}function Iu(){if(90!==tu){var e=97<tu?97:tu;return tu=90,Ga(e,ju)}return!1}function Bu(e,t){nu.push(t,e),Jl||(Jl=!0,Xa(97,(function(){return Iu(),null})))}function zu(e,t){ru.push(t,e),Jl||(Jl=!0,Xa(97,(function(){return Iu(),null})))}function ju(){if(null===eu)return!1;var e=eu;if(eu=null,0!==(48&Ml))throw Error(i(331));var t=Ml;Ml|=32;var n=ru;ru=[];for(var r=0;r<n.length;r+=2){var a=n[r],o=n[r+1],l=a.destroy;if(a.destroy=void 0,"function"===typeof l)try{l()}catch(c){if(null===o)throw Error(i(330));Hu(o,c)}}for(n=nu,nu=[],r=0;r<n.length;r+=2){a=n[r],o=n[r+1];try{var u=a.create;a.destroy=u()}catch(c){if(null===o)throw Error(i(330));Hu(o,c)}}for(u=e.current.firstEffect;null!==u;)e=u.nextEffect,u.nextEffect=null,8&u.flags&&(u.sibling=null,u.stateNode=null),u=e;return Ml=t,Ya(),!0}function Du(e,t,n){fo(e,t=fl(0,t=cl(n,t),1)),t=fu(),null!==(e=mu(e,1))&&(Ft(e,1,t),hu(e,t))}function Hu(e,t){if(3===e.tag)Du(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){Du(n,e,t);break}if(1===n.tag){var r=n.stateNode;if("function"===typeof n.type.getDerivedStateFromError||"function"===typeof r.componentDidCatch&&(null===Zl||!Zl.has(r))){var a=pl(n,e=cl(t,e),1);if(fo(n,a),a=fu(),null!==(n=mu(n,1)))Ft(n,1,a),hu(n,a);else if("function"===typeof r.componentDidCatch&&(null===Zl||!Zl.has(r)))try{r.componentDidCatch(t,e)}catch(o){}break}}n=n.return}}function Wu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=fu(),e.pingedLanes|=e.suspendedLanes&n,Al===e&&(Il&n)===n&&(4===jl||3===jl&&(62914560&Il)===Il&&500>Fa()-Kl?_u(e,0):Fl|=n),hu(e,t)}function Vu(e,t){var n=e.stateNode;null!==n&&n.delete(t),0===(t=0)&&(0===(2&(t=e.mode))?t=1:0===(4&t)?t=99===Ua()?1:2:(0===uu&&(uu=Hl),0===(t=Wt(62914560&~uu))&&(t=4194304))),n=fu(),null!==(e=mu(e,t))&&(Ft(e,t,n),hu(e,n))}function Fu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Uu(e,t,n,r){return new Fu(e,t,n,r)}function Ku(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Gu(e,t){var n=e.alternate;return null===n?((n=Uu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Xu(e,t,n,r,a,o){var l=2;if(r=e,"function"===typeof e)Ku(e)&&(l=1);else if("string"===typeof e)l=5;else e:switch(e){case _:return Yu(n.children,a,o,t);case B:l=8,a|=16;break;case C:l=8,a|=1;break;case x:return(e=Uu(12,n,t,8|a)).elementType=x,e.type=x,e.lanes=o,e;case T:return(e=Uu(13,n,t,a)).type=T,e.elementType=T,e.lanes=o,e;case L:return(e=Uu(19,n,t,a)).elementType=L,e.lanes=o,e;case z:return qu(n,a,o,t);case j:return(e=Uu(24,n,t,a)).elementType=j,e.lanes=o,e;default:if("object"===typeof e&&null!==e)switch(e.$$typeof){case N:l=10;break e;case O:l=9;break e;case P:l=11;break e;case M:l=14;break e;case A:l=16,r=null;break e;case R:l=22;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Uu(l,n,t,a)).elementType=e,t.type=r,t.lanes=o,t}function Yu(e,t,n,r){return(e=Uu(7,e,r,t)).lanes=n,e}function qu(e,t,n,r){return(e=Uu(23,e,r,t)).elementType=z,e.lanes=n,e}function Qu(e,t,n){return(e=Uu(6,e,null,t)).lanes=n,e}function $u(e,t,n){return(t=Uu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Zu(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Vt(0),this.expirationTimes=Vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Vt(0),this.mutableSourceEagerHydrationData=null}function Ju(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function ec(e,t,n,r){var a=t.current,o=fu(),l=pu(a);e:if(n){t:{if(Qe(n=n._reactInternals)!==n||1!==n.tag)throw Error(i(170));var u=n;do{switch(u.tag){case 3:u=u.stateNode.context;break t;case 1:if(ga(u.type)){u=u.stateNode.__reactInternalMemoizedMergedChildContext;break t}}u=u.return}while(null!==u);throw Error(i(171))}if(1===n.tag){var c=n.type;if(ga(c)){n=wa(n,c,u);break e}}n=u}else n=fa;return null===t.context?t.context=n:t.pendingContext=n,(t=so(o,l)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),fo(a,t),vu(a,l,o),l}function tc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function nc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function rc(e,t){nc(e,t),(e=e.alternate)&&nc(e,t)}function ac(e,t,n){var r=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Zu(e,t,null!=n&&!0===n.hydrate),t=Uu(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,uo(t),e[ea]=n.current,Mr(8===e.nodeType?e.parentNode:e),r)for(e=0;e<r.length;e++){var a=(t=r[e])._getVersion;a=a(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,a]:n.mutableSourceEagerHydrationData.push(t,a)}this._internalRoot=n}function oc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ic(e,t,n,r,a){var o=n._reactRootContainer;if(o){var i=o._internalRoot;if("function"===typeof a){var l=a;a=function(){var e=tc(i);l.call(e)}}ec(t,i,e,a)}else{if(o=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new ac(e,0,t?{hydrate:!0}:void 0)}(n,r),i=o._internalRoot,"function"===typeof a){var u=a;a=function(){var e=tc(i);u.call(e)}}ku((function(){ec(t,i,e,a)}))}return tc(i)}function lc(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!oc(t))throw Error(i(200));return Ju(e,t,null,n)}Yl=function(e,t,n){var r=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||va.current)zi=!0;else{if(0===(n&r)){switch(zi=!1,t.tag){case 3:Xi(t),Yo();break;case 5:Bo(t);break;case 1:ga(t.type)&&ka(t);break;case 4:Ro(t,t.stateNode.containerInfo);break;case 10:r=t.memoizedProps.value;var a=t.type._context;da(Za,a._currentValue),a._currentValue=r;break;case 13:if(null!==t.memoizedState)return 0!==(n&t.child.childLanes)?Zi(e,t,n):(da(jo,1&jo.current),null!==(t=ol(e,t,n))?t.sibling:null);da(jo,1&jo.current);break;case 19:if(r=0!==(n&t.childLanes),0!==(64&e.flags)){if(r)return al(e,t,n);t.flags|=64}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),da(jo,jo.current),r)break;return null;case 23:case 24:return t.lanes=0,Vi(e,t,n)}return ol(e,t,n)}zi=0!==(16384&e.flags)}else zi=!1;switch(t.lanes=0,t.tag){case 2:if(r=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,a=ha(t,pa.current),oo(t,n),a=li(null,t,r,e,a,n),t.flags|=1,"object"===typeof a&&null!==a&&"function"===typeof a.render&&void 0===a.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,ga(r)){var o=!0;ka(t)}else o=!1;t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,uo(t);var l=r.getDerivedStateFromProps;"function"===typeof l&&go(t,r,l,e),a.updater=yo,t.stateNode=a,a._reactInternals=t,Eo(t,r,e,n),t=Gi(null,t,r,!0,o,n)}else t.tag=0,ji(null,t,a,n),t=t.child;return t;case 16:a=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,a=(o=a._init)(a._payload),t.type=a,o=t.tag=function(e){if("function"===typeof e)return Ku(e)?1:0;if(void 0!==e&&null!==e){if((e=e.$$typeof)===P)return 11;if(e===M)return 14}return 2}(a),e=$a(a,e),o){case 0:t=Ui(null,t,a,e,n);break e;case 1:t=Ki(null,t,a,e,n);break e;case 11:t=Di(null,t,a,e,n);break e;case 14:t=Hi(null,t,a,$a(a.type,e),r,n);break e}throw Error(i(306,a,""))}return t;case 0:return r=t.type,a=t.pendingProps,Ui(e,t,r,a=t.elementType===r?a:$a(r,a),n);case 1:return r=t.type,a=t.pendingProps,Ki(e,t,r,a=t.elementType===r?a:$a(r,a),n);case 3:if(Xi(t),r=t.updateQueue,null===e||null===r)throw Error(i(282));if(r=t.pendingProps,a=null!==(a=t.memoizedState)?a.element:null,co(e,t),vo(t,r,null,n),(r=t.memoizedState.element)===a)Yo(),t=ol(e,t,n);else{if((o=(a=t.stateNode).hydrate)&&(Wo=Yr(t.stateNode.containerInfo.firstChild),Ho=t,o=Vo=!0),o){if(null!=(e=a.mutableSourceEagerHydrationData))for(a=0;a<e.length;a+=2)(o=e[a])._workInProgressVersionPrimary=e[a+1],qo.push(o);for(n=Oo(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else ji(e,t,r,n),Yo();t=t.child}return t;case 5:return Bo(t),null===e&&Ko(t),r=t.type,a=t.pendingProps,o=null!==e?e.memoizedProps:null,l=a.children,Ur(r,a)?l=null:null!==o&&Ur(r,o)&&(t.flags|=16),Fi(e,t),ji(e,t,l,n),t.child;case 6:return null===e&&Ko(t),null;case 13:return Zi(e,t,n);case 4:return Ro(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=No(t,null,r,n):ji(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,Di(e,t,r,a=t.elementType===r?a:$a(r,a),n);case 7:return ji(e,t,t.pendingProps,n),t.child;case 8:case 12:return ji(e,t,t.pendingProps.children,n),t.child;case 10:e:{r=t.type._context,a=t.pendingProps,l=t.memoizedProps,o=a.value;var u=t.type._context;if(da(Za,u._currentValue),u._currentValue=o,null!==l)if(u=l.value,0===(o=sr(u,o)?0:0|("function"===typeof r._calculateChangedBits?r._calculateChangedBits(u,o):1073741823))){if(l.children===a.children&&!va.current){t=ol(e,t,n);break e}}else for(null!==(u=t.child)&&(u.return=t);null!==u;){var c=u.dependencies;if(null!==c){l=u.child;for(var s=c.firstContext;null!==s;){if(s.context===r&&0!==(s.observedBits&o)){1===u.tag&&((s=so(-1,n&-n)).tag=2,fo(u,s)),u.lanes|=n,null!==(s=u.alternate)&&(s.lanes|=n),ao(u.return,n),c.lanes|=n;break}s=s.next}}else l=10===u.tag&&u.type===t.type?null:u.child;if(null!==l)l.return=u;else for(l=u;null!==l;){if(l===t){l=null;break}if(null!==(u=l.sibling)){u.return=l.return,l=u;break}l=l.return}u=l}ji(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=(o=t.pendingProps).children,oo(t,n),r=r(a=io(a,o.unstable_observedBits)),t.flags|=1,ji(e,t,r,n),t.child;case 14:return o=$a(a=t.type,t.pendingProps),Hi(e,t,a,o=$a(a.type,o),r,n);case 15:return Wi(e,t,t.type,t.pendingProps,r,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:$a(r,a),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,ga(r)?(e=!0,ka(t)):e=!1,oo(t,n),wo(t,r,a),Eo(t,r,a,n),Gi(null,t,r,!0,e,n);case 19:return al(e,t,n);case 23:case 24:return Vi(e,t,n)}throw Error(i(156,t.tag))},ac.prototype.render=function(e){ec(e,this._internalRoot,null,null)},ac.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;ec(null,e,null,(function(){t[ea]=null}))},tt=function(e){13===e.tag&&(vu(e,4,fu()),rc(e,4))},nt=function(e){13===e.tag&&(vu(e,67108864,fu()),rc(e,67108864))},rt=function(e){if(13===e.tag){var t=fu(),n=pu(e);vu(e,n,t),rc(e,n)}},at=function(e,t){return t()},Ne=function(e,t,n){switch(t){case"input":if(ne(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=oa(r);if(!a)throw Error(i(90));$(r),ne(r,a)}}}break;case"textarea":ce(e,n);break;case"select":null!=(t=n.value)&&ie(e,!!n.multiple,t,!1)}},Ae=wu,Re=function(e,t,n,r,a){var o=Ml;Ml|=4;try{return Ga(98,e.bind(null,t,n,r,a))}finally{0===(Ml=o)&&(Xl(),Ya())}},Ie=function(){0===(49&Ml)&&(function(){if(null!==au){var e=au;au=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,hu(e,Fa())}))}Ya()}(),Iu())},Be=function(e,t){var n=Ml;Ml|=2;try{return e(t)}finally{0===(Ml=n)&&(Xl(),Ya())}};var uc={Events:[ra,aa,oa,Le,Me,Iu,{current:!1}]},cc={findFiberByHostInstance:na,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},sc={bundleType:cc.bundleType,version:cc.version,rendererPackageName:cc.rendererPackageName,rendererConfig:cc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:k.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Je(e))?null:e.stateNode},findFiberByHostInstance:cc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var dc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!dc.isDisabled&&dc.supportsFiber)try{Sa=dc.inject(sc),_a=dc}catch(he){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=uc,t.createPortal=lc,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"===typeof e.render)throw Error(i(188));throw Error(i(268,Object.keys(e)))}return e=null===(e=Je(t))?null:e.stateNode},t.flushSync=function(e,t){var n=Ml;if(0!==(48&n))return e(t);Ml|=1;try{if(e)return Ga(99,e.bind(null,t))}finally{Ml=n,Ya()}},t.hydrate=function(e,t,n){if(!oc(t))throw Error(i(200));return ic(null,e,t,!0,n)},t.render=function(e,t,n){if(!oc(t))throw Error(i(200));return ic(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!oc(e))throw Error(i(40));return!!e._reactRootContainer&&(ku((function(){ic(null,null,e,!1,(function(){e._reactRootContainer=null,e[ea]=null}))})),!0)},t.unstable_batchedUpdates=wu,t.unstable_createPortal=function(e,t){return lc(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!oc(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return ic(e,t,n,!1,r)},t.version="17.0.2"},164:function(e,t,n){"use strict";!function e(){if("undefined"!==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"===typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(463)},374:function(e,t,n){"use strict";n(725);var r=n(791),a=60103;if(60107,"function"===typeof Symbol&&Symbol.for){var o=Symbol.for;a=o("react.element"),o("react.fragment")}var i=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,o={},c=null,s=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(s=t.ref),t)l.call(t,r)&&!u.hasOwnProperty(r)&&(o[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===o[r]&&(o[r]=t[r]);return{$$typeof:a,type:e,key:c,ref:s,props:o,_owner:i.current}}t.jsx=c,t.jsxs=c},117:function(e,t,n){"use strict";var r=n(725),a=60103,o=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var i=60109,l=60110,u=60112;t.Suspense=60113;var c=60115,s=60116;if("function"===typeof Symbol&&Symbol.for){var d=Symbol.for;a=d("react.element"),o=d("react.portal"),t.Fragment=d("react.fragment"),t.StrictMode=d("react.strict_mode"),t.Profiler=d("react.profiler"),i=d("react.provider"),l=d("react.context"),u=d("react.forward_ref"),t.Suspense=d("react.suspense"),c=d("react.memo"),s=d("react.lazy")}var f="function"===typeof Symbol&&Symbol.iterator;function p(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var v={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m={};function h(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||v}function g(){}function y(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||v}h.prototype.isReactComponent={},h.prototype.setState=function(e,t){if("object"!==typeof e&&"function"!==typeof e&&null!=e)throw Error(p(85));this.updater.enqueueSetState(this,e,t,"setState")},h.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},g.prototype=h.prototype;var b=y.prototype=new g;b.constructor=y,r(b,h.prototype),b.isPureReactComponent=!0;var w={current:null},k=Object.prototype.hasOwnProperty,E={key:!0,ref:!0,__self:!0,__source:!0};function S(e,t,n){var r,o={},i=null,l=null;if(null!=t)for(r in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(i=""+t.key),t)k.call(t,r)&&!E.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(1===u)o.children=n;else if(1<u){for(var c=Array(u),s=0;s<u;s++)c[s]=arguments[s+2];o.children=c}if(e&&e.defaultProps)for(r in u=e.defaultProps)void 0===o[r]&&(o[r]=u[r]);return{$$typeof:a,type:e,key:i,ref:l,props:o,_owner:w.current}}function _(e){return"object"===typeof e&&null!==e&&e.$$typeof===a}var C=/\/+/g;function x(e,t){return"object"===typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function N(e,t,n,r,i){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var u=!1;if(null===e)u=!0;else switch(l){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case a:case o:u=!0}}if(u)return i=i(u=e),e=""===r?"."+x(u,0):r,Array.isArray(i)?(n="",null!=e&&(n=e.replace(C,"$&/")+"/"),N(i,t,n,"",(function(e){return e}))):null!=i&&(_(i)&&(i=function(e,t){return{$$typeof:a,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,n+(!i.key||u&&u.key===i.key?"":(""+i.key).replace(C,"$&/")+"/")+e)),t.push(i)),1;if(u=0,r=""===r?".":r+":",Array.isArray(e))for(var c=0;c<e.length;c++){var s=r+x(l=e[c],c);u+=N(l,t,n,s,i)}else if(s=function(e){return null===e||"object"!==typeof e?null:"function"===typeof(e=f&&e[f]||e["@@iterator"])?e:null}(e),"function"===typeof s)for(e=s.call(e),c=0;!(l=e.next()).done;)u+=N(l=l.value,t,n,s=r+x(l,c++),i);else if("object"===l)throw t=""+e,Error(p(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return u}function O(e,t,n){if(null==e)return e;var r=[],a=0;return N(e,r,"","",(function(e){return t.call(n,e,a++)})),r}function P(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var T={current:null};function L(){var e=T.current;if(null===e)throw Error(p(321));return e}var M={ReactCurrentDispatcher:T,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:w,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:O,forEach:function(e,t,n){O(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return O(e,(function(){t++})),t},toArray:function(e){return O(e,(function(e){return e}))||[]},only:function(e){if(!_(e))throw Error(p(143));return e}},t.Component=h,t.PureComponent=y,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=M,t.cloneElement=function(e,t,n){if(null===e||void 0===e)throw Error(p(267,e));var o=r({},e.props),i=e.key,l=e.ref,u=e._owner;if(null!=t){if(void 0!==t.ref&&(l=t.ref,u=w.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(s in t)k.call(t,s)&&!E.hasOwnProperty(s)&&(o[s]=void 0===t[s]&&void 0!==c?c[s]:t[s])}var s=arguments.length-2;if(1===s)o.children=n;else if(1<s){c=Array(s);for(var d=0;d<s;d++)c[d]=arguments[d+2];o.children=c}return{$$typeof:a,type:e.type,key:i,ref:l,props:o,_owner:u}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:l,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:i,_context:e},e.Consumer=e},t.createElement=S,t.createFactory=function(e){var t=S.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=_,t.lazy=function(e){return{$$typeof:s,_payload:{_status:-1,_result:e},_init:P}},t.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return L().useCallback(e,t)},t.useContext=function(e,t){return L().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return L().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return L().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return L().useLayoutEffect(e,t)},t.useMemo=function(e,t){return L().useMemo(e,t)},t.useReducer=function(e,t,n){return L().useReducer(e,t,n)},t.useRef=function(e){return L().useRef(e)},t.useState=function(e){return L().useState(e)},t.version="17.0.2"},791:function(e,t,n){"use strict";e.exports=n(117)},184:function(e,t,n){"use strict";e.exports=n(374)},813:function(e,t){"use strict";var n,r,a,o;if("object"===typeof performance&&"function"===typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var l=Date,u=l.now();t.unstable_now=function(){return l.now()-u}}if("undefined"===typeof window||"function"!==typeof MessageChannel){var c=null,s=null,d=function e(){if(null!==c)try{var n=t.unstable_now();c(!0,n),c=null}catch(r){throw setTimeout(e,0),r}};n=function(e){null!==c?setTimeout(n,0,e):(c=e,setTimeout(d,0))},r=function(e,t){s=setTimeout(e,t)},a=function(){clearTimeout(s)},t.unstable_shouldYield=function(){return!1},o=t.unstable_forceFrameRate=function(){}}else{var f=window.setTimeout,p=window.clearTimeout;if("undefined"!==typeof console){var v=window.cancelAnimationFrame;"function"!==typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!==typeof v&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var m=!1,h=null,g=-1,y=5,b=0;t.unstable_shouldYield=function(){return t.unstable_now()>=b},o=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):y=0<e?Math.floor(1e3/e):5};var w=new MessageChannel,k=w.port2;w.port1.onmessage=function(){if(null!==h){var e=t.unstable_now();b=e+y;try{h(!0,e)?k.postMessage(null):(m=!1,h=null)}catch(n){throw k.postMessage(null),n}}else m=!1},n=function(e){h=e,m||(m=!0,k.postMessage(null))},r=function(e,n){g=f((function(){e(t.unstable_now())}),n)},a=function(){p(g),g=-1}}function E(e,t){var n=e.length;e.push(t);e:for(;;){var r=n-1>>>1,a=e[r];if(!(void 0!==a&&0<C(a,t)))break e;e[r]=t,e[n]=a,n=r}}function S(e){return void 0===(e=e[0])?null:e}function _(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length;r<a;){var o=2*(r+1)-1,i=e[o],l=o+1,u=e[l];if(void 0!==i&&0>C(i,n))void 0!==u&&0>C(u,i)?(e[r]=u,e[l]=n,r=l):(e[r]=i,e[o]=n,r=o);else{if(!(void 0!==u&&0>C(u,n)))break e;e[r]=u,e[l]=n,r=l}}}return t}return null}function C(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var x=[],N=[],O=1,P=null,T=3,L=!1,M=!1,A=!1;function R(e){for(var t=S(N);null!==t;){if(null===t.callback)_(N);else{if(!(t.startTime<=e))break;_(N),t.sortIndex=t.expirationTime,E(x,t)}t=S(N)}}function I(e){if(A=!1,R(e),!M)if(null!==S(x))M=!0,n(B);else{var t=S(N);null!==t&&r(I,t.startTime-e)}}function B(e,n){M=!1,A&&(A=!1,a()),L=!0;var o=T;try{for(R(n),P=S(x);null!==P&&(!(P.expirationTime>n)||e&&!t.unstable_shouldYield());){var i=P.callback;if("function"===typeof i){P.callback=null,T=P.priorityLevel;var l=i(P.expirationTime<=n);n=t.unstable_now(),"function"===typeof l?P.callback=l:P===S(x)&&_(x),R(n)}else _(x);P=S(x)}if(null!==P)var u=!0;else{var c=S(N);null!==c&&r(I,c.startTime-n),u=!1}return u}finally{P=null,T=o,L=!1}}var z=o;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){M||L||(M=!0,n(B))},t.unstable_getCurrentPriorityLevel=function(){return T},t.unstable_getFirstCallbackNode=function(){return S(x)},t.unstable_next=function(e){switch(T){case 1:case 2:case 3:var t=3;break;default:t=T}var n=T;T=t;try{return e()}finally{T=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=z,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=T;T=e;try{return t()}finally{T=n}},t.unstable_scheduleCallback=function(e,o,i){var l=t.unstable_now();switch("object"===typeof i&&null!==i?i="number"===typeof(i=i.delay)&&0<i?l+i:l:i=l,e){case 1:var u=-1;break;case 2:u=250;break;case 5:u=1073741823;break;case 4:u=1e4;break;default:u=5e3}return e={id:O++,callback:o,priorityLevel:e,startTime:i,expirationTime:u=i+u,sortIndex:-1},i>l?(e.sortIndex=i,E(N,e),null===S(x)&&e===S(N)&&(A?a():A=!0,r(I,i-l))):(e.sortIndex=u,E(x,e),M||L||(M=!0,n(B))),e},t.unstable_wrapCallback=function(e){var t=T;return function(){var n=T;T=t;try{return e.apply(this,arguments)}finally{T=n}}}},296:function(e,t,n){"use strict";e.exports=n(813)},696:function(e,t,n){e.exports=function(){"use strict";function e(e,t){return e(t={exports:{}},t.exports),t.exports}"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:"undefined"!==typeof self&&self;var t=e((function(e,t){!function(t,n){e.exports=n()}(0,(function(){function e(e){return e&&"object"===typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(e){return Array.isArray(e)?[]:{}}function n(n,r){return r&&!0===r.clone&&e(n)?o(t(n),n,r):n}function r(t,r,a){var i=t.slice();return r.forEach((function(r,l){"undefined"===typeof i[l]?i[l]=n(r,a):e(r)?i[l]=o(t[l],r,a):-1===t.indexOf(r)&&i.push(n(r,a))})),i}function a(t,r,a){var i={};return e(t)&&Object.keys(t).forEach((function(e){i[e]=n(t[e],a)})),Object.keys(r).forEach((function(l){e(r[l])&&t[l]?i[l]=o(t[l],r[l],a):i[l]=n(r[l],a)})),i}function o(e,t,o){var i=Array.isArray(t),l=(o||{arrayMerge:r}).arrayMerge||r;return i?Array.isArray(e)?l(e,t,o):n(t,o):a(e,t,o)}return o.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return o(e,n,t)}))},o}))}));function r(e){return e=e||Object.create(null),{on:function(t,n){(e[t]||(e[t]=[])).push(n)},off:function(t,n){e[t]&&e[t].splice(e[t].indexOf(n)>>>0,1)},emit:function(t,n){(e[t]||[]).map((function(e){e(n)})),(e["*"]||[]).map((function(e){e(t,n)}))}}}var a=e((function(e,t){var n={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}};t.default=n,e.exports=t.default})),o=function(e){return Object.keys(e).map((function(t){return t+'="'+e[t].toString().replace(/"/g,"&quot;")+'"'})).join(" ")},i=a.svg,l=a.xlink,u={};u[i.name]=i.uri,u[l.name]=l.uri;var c,s=function(e,n){void 0===e&&(e="");var r=t(u,n||{});return"<svg "+o(r)+">"+e+"</svg>"},d=a.svg,f=a.xlink,p={attrs:(c={style:["position: absolute","width: 0","height: 0"].join("; "),"aria-hidden":"true"},c[d.name]=d.uri,c[f.name]=f.uri,c)},v=function(e){this.config=t(p,e||{}),this.symbols=[]};v.prototype.add=function(e){var t=this.symbols,n=this.find(e.id);return n?(t[t.indexOf(n)]=e,!1):(t.push(e),!0)},v.prototype.remove=function(e){var t=this.symbols,n=this.find(e);return!!n&&(t.splice(t.indexOf(n),1),n.destroy(),!0)},v.prototype.find=function(e){return this.symbols.filter((function(t){return t.id===e}))[0]||null},v.prototype.has=function(e){return null!==this.find(e)},v.prototype.stringify=function(){var e=this.config.attrs,t=this.symbols.map((function(e){return e.stringify()})).join("");return s(t,e)},v.prototype.toString=function(){return this.stringify()},v.prototype.destroy=function(){this.symbols.forEach((function(e){return e.destroy()}))};var m=function(e){var t=e.id,n=e.viewBox,r=e.content;this.id=t,this.viewBox=n,this.content=r};m.prototype.stringify=function(){return this.content},m.prototype.toString=function(){return this.stringify()},m.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))};var h=function(e){var t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n},g=function(e){function t(){e.apply(this,arguments)}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={isMounted:{}};return n.isMounted.get=function(){return!!this.node},t.createFromExistingNode=function(e){return new t({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},t.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},t.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"===typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n},t.prototype.render=function(){var e=this.stringify();return h(s(e)).childNodes[0]},t.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(t.prototype,n),t}(m),y={autoConfigure:!0,mountTo:"body",syncUrlsWithBaseTag:!1,listenLocationChangeEvent:!0,locationChangeEvent:"locationChange",locationChangeAngularEmitter:!1,usagesToUpdate:"use[*|href]",moveGradientsOutsideSymbol:!1},b=function(e){return Array.prototype.slice.call(e,0)},w={isChrome:function(){return/chrome/i.test(navigator.userAgent)},isFirefox:function(){return/firefox/i.test(navigator.userAgent)},isIE:function(){return/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)},isEdge:function(){return/edge/i.test(navigator.userAgent)}},k=function(e,t){var n=document.createEvent("CustomEvent");n.initCustomEvent(e,!1,!1,t),window.dispatchEvent(n)},E=function(e){var t=[];return b(e.querySelectorAll("style")).forEach((function(e){e.textContent+="",t.push(e)})),t},S=function(e){return(e||window.location.href).split("#")[0]},_=function(e){angular.module("ng").run(["$rootScope",function(t){t.$on("$locationChangeSuccess",(function(t,n,r){k(e,{oldUrl:r,newUrl:n})}))}])},C="linearGradient, radialGradient, pattern, mask, clipPath",x=function(e,t){return void 0===t&&(t=C),b(e.querySelectorAll("symbol")).forEach((function(e){b(e.querySelectorAll(t)).forEach((function(t){e.parentNode.insertBefore(t,e)}))})),e};function N(e,t){return b(e).reduce((function(e,n){if(!n.attributes)return e;var r=b(n.attributes),a=t?r.filter(t):r;return e.concat(a)}),[])}var O=a.xlink.uri,P="xlink:href",T=/[{}|\\\^\[\]`"<>]/g;function L(e){return e.replace(T,(function(e){return"%"+e[0].charCodeAt(0).toString(16).toUpperCase()}))}function M(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function A(e,t,n){return b(e).forEach((function(e){var r=e.getAttribute(P);if(r&&0===r.indexOf(t)){var a=r.replace(t,n);e.setAttributeNS(O,P,a)}})),e}var R=["clipPath","colorProfile","src","cursor","fill","filter","marker","markerStart","markerMid","markerEnd","mask","stroke","style"],I=R.map((function(e){return"["+e+"]"})).join(","),B=function(e,t,n,r){var a=L(n),o=L(r);N(e.querySelectorAll(I),(function(e){var t=e.localName,n=e.value;return-1!==R.indexOf(t)&&-1!==n.indexOf("url("+a)})).forEach((function(e){return e.value=e.value.replace(new RegExp(M(a),"g"),o)})),A(t,a,o)},z={MOUNT:"mount",SYMBOL_MOUNT:"symbol_mount"};return function(e){function n(n){var a=this;void 0===n&&(n={}),e.call(this,t(y,n));var o=r();this._emitter=o,this.node=null;var i=this.config;if(i.autoConfigure&&this._autoConfigure(n),i.syncUrlsWithBaseTag){var l=document.getElementsByTagName("base")[0].getAttribute("href");o.on(z.MOUNT,(function(){return a.updateUrls("#",l)}))}var u=this._handleLocationChange.bind(this);this._handleLocationChange=u,i.listenLocationChangeEvent&&window.addEventListener(i.locationChangeEvent,u),i.locationChangeAngularEmitter&&_(i.locationChangeEvent),o.on(z.MOUNT,(function(e){i.moveGradientsOutsideSymbol&&x(e)})),o.on(z.SYMBOL_MOUNT,(function(e){i.moveGradientsOutsideSymbol&&x(e.parentNode),(w.isIE()||w.isEdge())&&E(e)}))}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var a={isMounted:{}};return a.isMounted.get=function(){return!!this.node},n.prototype._autoConfigure=function(e){var t=this.config;"undefined"===typeof e.syncUrlsWithBaseTag&&(t.syncUrlsWithBaseTag="undefined"!==typeof document.getElementsByTagName("base")[0]),"undefined"===typeof e.locationChangeAngularEmitter&&(t.locationChangeAngularEmitter="undefined"!==typeof window.angular),"undefined"===typeof e.moveGradientsOutsideSymbol&&(t.moveGradientsOutsideSymbol=w.isFirefox())},n.prototype._handleLocationChange=function(e){var t=e.detail,n=t.oldUrl,r=t.newUrl;this.updateUrls(n,r)},n.prototype.add=function(t){var n=this,r=e.prototype.add.call(this,t);return this.isMounted&&r&&(t.mount(n.node),this._emitter.emit(z.SYMBOL_MOUNT,t.node)),r},n.prototype.attach=function(e){var t=this,n=this;if(n.isMounted)return n.node;var r="string"===typeof e?document.querySelector(e):e;return n.node=r,this.symbols.forEach((function(e){e.mount(n.node),t._emitter.emit(z.SYMBOL_MOUNT,e.node)})),b(r.querySelectorAll("symbol")).forEach((function(e){var t=g.createFromExistingNode(e);t.node=e,n.add(t)})),this._emitter.emit(z.MOUNT,r),r},n.prototype.destroy=function(){var e=this,t=e.config,n=e.symbols,r=e._emitter;n.forEach((function(e){return e.destroy()})),r.off("*"),window.removeEventListener(t.locationChangeEvent,this._handleLocationChange),this.isMounted&&this.unmount()},n.prototype.mount=function(e,t){void 0===e&&(e=this.config.mountTo),void 0===t&&(t=!1);var n=this;if(n.isMounted)return n.node;var r="string"===typeof e?document.querySelector(e):e,a=n.render();return this.node=a,t&&r.childNodes[0]?r.insertBefore(a,r.childNodes[0]):r.appendChild(a),this._emitter.emit(z.MOUNT,a),a},n.prototype.render=function(){return h(this.stringify())},n.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},n.prototype.updateUrls=function(e,t){if(!this.isMounted)return!1;var n=document.querySelectorAll(this.config.usagesToUpdate);return B(this.node,n,S(e)+"#",S(t)+"#"),!0},Object.defineProperties(n.prototype,a),n}(v)}()},111:function(e,t,n){e.exports=function(){"use strict";var e=function(e){var t=e.id,n=e.viewBox,r=e.content;this.id=t,this.viewBox=n,this.content=r};e.prototype.stringify=function(){return this.content},e.prototype.toString=function(){return this.stringify()},e.prototype.destroy=function(){var e=this;["id","viewBox","content"].forEach((function(t){return delete e[t]}))};var t=function(e){var t=!!document.importNode,n=(new DOMParser).parseFromString(e,"image/svg+xml").documentElement;return t?document.importNode(n,!0):n};function r(e,t){return e(t={exports:{}},t.exports),t.exports}"undefined"!==typeof window?window:"undefined"!==typeof n.g?n.g:"undefined"!==typeof self&&self;var a=r((function(e,t){!function(t,n){e.exports=n()}(0,(function(){function e(e){return e&&"object"===typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(e){return Array.isArray(e)?[]:{}}function n(n,r){return r&&!0===r.clone&&e(n)?o(t(n),n,r):n}function r(t,r,a){var i=t.slice();return r.forEach((function(r,l){"undefined"===typeof i[l]?i[l]=n(r,a):e(r)?i[l]=o(t[l],r,a):-1===t.indexOf(r)&&i.push(n(r,a))})),i}function a(t,r,a){var i={};return e(t)&&Object.keys(t).forEach((function(e){i[e]=n(t[e],a)})),Object.keys(r).forEach((function(l){e(r[l])&&t[l]?i[l]=o(t[l],r[l],a):i[l]=n(r[l],a)})),i}function o(e,t,o){var i=Array.isArray(t),l=(o||{arrayMerge:r}).arrayMerge||r;return i?Array.isArray(e)?l(e,t,o):n(t,o):a(e,t,o)}return o.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce((function(e,n){return o(e,n,t)}))},o}))})),o=r((function(e,t){var n={svg:{name:"xmlns",uri:"http://www.w3.org/2000/svg"},xlink:{name:"xmlns:xlink",uri:"http://www.w3.org/1999/xlink"}};t.default=n,e.exports=t.default})),i=function(e){return Object.keys(e).map((function(t){return t+'="'+e[t].toString().replace(/"/g,"&quot;")+'"'})).join(" ")},l=o.svg,u=o.xlink,c={};c[l.name]=l.uri,c[u.name]=u.uri;var s=function(e,t){void 0===e&&(e="");var n=a(c,t||{});return"<svg "+i(n)+">"+e+"</svg>"},d=function(e){function n(){e.apply(this,arguments)}e&&(n.__proto__=e),n.prototype=Object.create(e&&e.prototype),n.prototype.constructor=n;var r={isMounted:{}};return r.isMounted.get=function(){return!!this.node},n.createFromExistingNode=function(e){return new n({id:e.getAttribute("id"),viewBox:e.getAttribute("viewBox"),content:e.outerHTML})},n.prototype.destroy=function(){this.isMounted&&this.unmount(),e.prototype.destroy.call(this)},n.prototype.mount=function(e){if(this.isMounted)return this.node;var t="string"===typeof e?document.querySelector(e):e,n=this.render();return this.node=n,t.appendChild(n),n},n.prototype.render=function(){var e=this.stringify();return t(s(e)).childNodes[0]},n.prototype.unmount=function(){this.node.parentNode.removeChild(this.node)},Object.defineProperties(n.prototype,r),n}(e);return d}()},61:function(e,t,n){var r=n(698).default;function a(){"use strict";e.exports=a=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},n=Object.prototype,o=n.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",c=l.asyncIterator||"@@asyncIterator",s=l.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(L){d=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var a=t&&t.prototype instanceof m?t:m,o=Object.create(a.prototype),l=new O(r||[]);return i(o,"_invoke",{value:_(e,n,l)}),o}function p(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(L){return{type:"throw",arg:L}}}t.wrap=f;var v={};function m(){}function h(){}function g(){}var y={};d(y,u,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(P([])));w&&w!==n&&o.call(w,u)&&(y=w);var k=g.prototype=m.prototype=Object.create(y);function E(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function n(a,i,l,u){var c=p(e[a],e,i);if("throw"!==c.type){var s=c.arg,d=s.value;return d&&"object"==r(d)&&o.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,l,u)}),(function(e){n("throw",e,l,u)})):t.resolve(d).then((function(e){s.value=e,l(s)}),(function(e){return n("throw",e,l,u)}))}u(c.arg)}var a;i(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,a){n(e,r,t,a)}))}return a=a?a.then(o,o):o()}})}function _(e,t,n){var r="suspendedStart";return function(a,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===a)throw o;return T()}for(n.method=a,n.arg=o;;){var i=n.delegate;if(i){var l=C(i,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=p(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===v)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}function C(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,C(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var a=p(r,e.iterator,t.arg);if("throw"===a.type)return t.method="throw",t.arg=a.arg,t.delegate=null,v;var o=a.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,v):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,v)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function O(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function P(e){if(e){var t=e[u];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(o.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:T}}function T(){return{value:void 0,done:!0}}return h.prototype=g,i(k,"constructor",{value:g,configurable:!0}),i(g,"constructor",{value:h,configurable:!0}),h.displayName=d(g,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,d(e,s,"GeneratorFunction")),e.prototype=Object.create(k),e},t.awrap=function(e){return{__await:e}},E(S.prototype),d(S.prototype,c,(function(){return this})),t.AsyncIterator=S,t.async=function(e,n,r,a,o){void 0===o&&(o=Promise);var i=new S(f(e,n,r,a),o);return t.isGeneratorFunction(n)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},E(k),d(k,s,"Generator"),d(k,u,(function(){return this})),d(k,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=P,O.prototype={constructor:O,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(N),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return i.type="throw",i.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var l=o.call(a,"catchLoc"),u=o.call(a,"finallyLoc");if(l&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var a=r;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,v):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),N(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;N(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:P(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),v}},t}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},698:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},687:function(e,t,n){var r=n(61)();e.exports=r;try{regeneratorRuntime=r}catch(a){"object"===typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var o=t[r]={exports:{}};return e[r].call(o.exports,o,o.exports,n),o.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",function(){"use strict";var e=n(791),t=n(164),r=n(677),a=n.n(r);function o(e,t,n,r,a,o,i){try{var l=e[o](i),u=l.value}catch(c){return void n(c)}l.done?t(u):Promise.resolve(u).then(r,a)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var i=e.apply(t,n);function l(e){o(i,r,a,l,u,"next",e)}function u(e){o(i,r,a,l,u,"throw",e)}l(void 0)}))}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){if(e){if("string"===typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],u=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);u=!0);}catch(s){c=!0,a=s}finally{try{if(!u&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw a}}return l}}(e,t)||u(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var s=n(687),d=n.n(s),f=!("undefined"===typeof window||!window.document||!window.document.createElement),p=f&&!!window.addEventListener;var v={supported:!1,name:"animationend"},m={supported:!1,name:"transitionend"};function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function g(){for(var e=[],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return n.forEach((function(t){if(t)switch(h(t)){case"string":e.push(t);break;case"object":Object.keys(t).forEach((function(n){t[n]&&e.push(n)}));break;default:e.push("".concat(t))}})),e.join(" ")}f&&("undefined"!==typeof AnimationEvent?v.supported=!0:"undefined"!==typeof WebKitAnimationEvent&&(v.supported=!0,v.name="webkitAnimationEnd"),"undefined"!==typeof TransitionEvent?m.supported=!0:"undefined"!==typeof WebKitTransitionEvent&&(m.supported=!0,m.name="webkitTransitionEnd"));var y=function(){};if(p)try{var b=Object.defineProperty({},"passive",{get:function(){!0}});window.addEventListener("test",y,b),window.removeEventListener("test",y,b)}catch(bo){}function w(e){var t=function(e,t){if("object"!==h(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==h(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===h(t)?t:String(t)}function k(e,t,n){return(t=w(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}String.fromCodePoint,String.prototype.codePointAt;function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){k(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _={parse:function(e){if("string"!==typeof e)return{};if(!(e=e.trim().replace(/^[?#&]/,"")))return{};var t=/\?(.+)$/gi.exec(e);return(t?t[1]:e).split("&").reduce((function(e,t){var n=t.split("=");return n[1]&&(e[n[0]]=decodeURIComponent(n[1])),e}),{})},stringify:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("object"!==h(e)||null===e)return"";t=S({encode:!0},t);var n=function(e){return t.encode?encodeURIComponent(e):String(e)};return Object.keys(e).reduce((function(r,a){var o=e[a];return void 0===o?r:null===o?(t.skipNull||r.push([n(a),""].join("=")),r):Array.isArray(o)?(o.map((function(e){r.push("".concat(n(a),"[]=").concat(n(e)))})).join(),r):(r.push([n(a),n(o)].join("=")),r)}),[]).join("&")}};function C(e){return void 0!==e&&!1!==e&&null!==e&&""!==e}function x(e){return"string"===typeof e||"number"===typeof e}function N(e){e||(e=f?navigator.userAgent.toLowerCase():"");var t=function(e){if(!f)return!1;var t=!/ipad|iphone|ipod/.test(e);if(/mac os/.test(e)&&t&&"boolean"===typeof navigator.standalone)return!0;return!1}(e),n=t||-1!==e.indexOf("ipad"),r=!n&&-1!==e.search(/iphone|ipod/),a=r||n,o=a&&e.match(/OS ([\d_]+) like Mac OS X/i),i=0,l=0;t?(i=13,l=0):o&&(i=+(o=o[1].split("_"))[0],l=+o[1]),o=null;var u=i<13&&!(11===i&&l<3),c=a&&function(e){if(!f)return!1;var t=window.webkit;if(t&&t.messageHandlers)return!0;var n=/constructor/i.test(String(window.HTMLElement)),r=!!window.indexedDB;if(-1===e.indexOf("safari")||-1===e.indexOf("version")||navigator.standalone){if(!r&&n||!window.statusbar||!window.statusbar.visible);else if(!n||r)return!0}else;return!1}(e),s=!1;return f&&(s=a&&375===screen.width&&812===screen.height&&3===window.devicePixelRatio),{isIPad:n,isIPhone:r,isIOS:a,isIPadOS:t,iosMajor:i,iosMinor:l,isWKWebView:c,isScrollBasedViewport:u,isIPhoneX:s,isIOSChrome:-1!==e.search(/crios/i)}}var O,P,T=N(),L=(T.isIPad,T.isIPhone,T.isIOS),M=T.isIPadOS;T.iosMajor,T.iosMinor,T.isWKWebView,T.isScrollBasedViewport,T.isIPhoneX,T.isIOSChrome;if(f)if(L&&!M)O=!1,P=!1,!0,!0;else if("ontouchstart"in document||"maxTouchPoints"in navigator&&navigator.maxTouchPoints>0){var A=!/android|mobile|tablet/i.test(navigator.userAgent);O="function"===typeof window.matchMedia&&window.matchMedia("(pointer)").matches?matchMedia("(pointer: fine)").matches:A,P=O&&("function"===typeof window.matchMedia&&window.matchMedia("(hover)").matches?matchMedia("(hover: hover)").matches:A)}else O=!0,P=!0;else O=!1,!1,P=!1,!1;if(f){var R=Element.prototype;R.matches||(R.matches=R.matchesSelector||R.webkitMatchesSelector||R.mozMatchesSelector||R.msMatchesSelector),R.closest||(R.closest=function(e){for(var t=this;t;){if(t.matches(e))return t;t=t.parentElement}return null})}function I(){return I=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},I.apply(this,arguments)}function B(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(e,t){if(null==this)throw new TypeError('"this" is null or not defined');var n=Object(this),r=n.length>>>0;if(0===r)return!1;var a,o,i=0|t,l=Math.max(i>=0?i:r-Math.abs(i),0);for(;l<r;){if((a=n[l])===(o=e)||"number"===typeof a&&"number"===typeof o&&isNaN(a)&&isNaN(o))return!0;l++}return!1}}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!==typeof e)throw new TypeError("callback must be a function");for(var t=Object(this),n=t.length>>>0,r=arguments[1],a=0;a<n;a++){var o=t[a];if(e.call(r,o,a,t))return o}}}),String.prototype.padStart||(String.prototype.padStart=function(e,t){return e>>=0,t=String(t||" "),this.length>e?String(this):((e-=this.length)>t.length&&(t+=t.repeat(e/t.length)),t.slice(0,e)+String(this))});var z,j=Boolean(f&&window.__isVkuiTesting),D={supported:!1},H={supported:!1,name:null};f&&!j&&(("undefined"!==typeof AnimationEvent||"undefined"!==typeof WebKitAnimationEvent)&&(D.supported=!0),"undefined"!==typeof TransitionEvent?(H.supported=!0,H.name="transitionend"):"undefined"!==typeof WebKitTransitionEvent&&(H.supported=!0,H.name="webkitTransitionEnd")),function(e){e.IOS="ios",e.UNKNOWN=""}(z||(z={}));var W,V={};function F(e){return{matches:!1,media:e,onchange:y,addListener:y,removeListener:y,addEventListener:y,removeEventListener:y,dispatchEvent:function(){return!1}}}!function(e){e.ANDROID="android",e.IOS="ios",e.VKCOM="vkcom"}(W||(W={}));var U={desktop_web:W.VKCOM};var K=f?function(e){try{var t=_.parse(e).vk_platform;return"string"===typeof t&&t in U?U[t]:void 0}catch(bo){return void console.warn(bo)}}(location.search):void 0;function G(e){return K||(e||(e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(V[e])return V[e];var t=null,n=z.UNKNOWN,r=N(e),a=r.isIOS,o=r.iosMajor,i=r.iosMinor;a&&(n=z.IOS,t={major:o,minor:i});var l={userAgent:e,system:n,systemVersion:t};return V[e]=l,l}()),"ios"===e.system?W.IOS:W.ANDROID)}function X(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Y(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?X(Object(n),!0).forEach((function(t){k(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):X(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var q=function(e){return null!=e.clientX?e.clientX:e.changedTouches&&e.changedTouches[0].clientX},Q=function(e){return null!=e.clientY?e.clientY:e.changedTouches&&e.changedTouches[0].clientY},$=function(){return f&&"ontouchstart"in window};function Z(){return $()?["touchstart","touchmove","touchend","touchcancel"]:["mousedown","mousemove","mouseup","mouseleave"]}var J=e.createContext({window:f?window:void 0,document:f?document:void 0}),ee=function(){return e.useContext(J)};function te(e){e&&e.activeElement&&e.activeElement.blur()}function ne(e,t){t&&("function"===typeof t?t(e):t.current=e)}function re(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var a=e.useRef(null);return e.useMemo((function(){return{get current(){return a.current},set current(e){a.current=e,n.forEach((function(t){t&&ne(e,t)}))}}}),n)}var ae=f?e.useLayoutEffect:e.useEffect;function oe(t,n,r){var a=e.useRef(n);ae((function(){a.current=n}),[n]);var o=e.useCallback((function(e){return a.current&&a.current(e)}),[]),i=e.useRef(y),l=e.useCallback((function(){i.current(),i.current=y}),[]),u=e.useCallback((function(e){if(f&&(l(),e)){var n=Y({},r);e.addEventListener(t,o,n),i.current=function(){return e.removeEventListener(t,o,n)}}}),[r,o,t,l]);return e.useEffect((function(){return l}),[l]),e.useMemo((function(){return{add:u,remove:l}}),[u,l])}var ie,le=["onStart","onStartX","onStartY","onMove","onMoveX","onMoveY","onLeave","onEnter","onEnd","onEndX","onEndY","onClickCapture","usePointerHover","slideThreshold","useCapture","Component","getRootRef","noSlideClick","stopPropagation"],ue=function(t){var n=t.onStart,r=t.onStartX,a=t.onStartY,o=t.onMove,i=t.onMoveX,l=t.onMoveY,u=t.onLeave,c=t.onEnter,s=t.onEnd,d=t.onEndX,f=t.onEndY,p=t.onClickCapture,v=t.usePointerHover,m=t.slideThreshold,h=void 0===m?5:m,g=t.useCapture,y=void 0!==g&&g,b=t.Component,w=void 0===b?"div":b,k=t.getRootRef,E=t.noSlideClick,S=void 0!==E&&E,_=t.stopPropagation,C=void 0!==_&&_,x=B(t,le),N=ee().document,O=e.useMemo(Z,[]),P=e.useRef(!1),T=e.useRef(null),L=function(e,t){C&&e.stopPropagation(),t.forEach((function(t){var n,r,a,o=Date.now()-(null!==(n=null===(r=T.current)||void 0===r||null===(a=r.startT)||void 0===a?void 0:a.getTime())&&void 0!==n?n:0);t&&t(Y(Y({},T.current),{},{duration:o,originalEvent:e}))}))},M=oe(v?"pointerenter":"mouseenter",c),A=oe(v?"pointerleave":"mouseleave",u),R=oe(O[0],(function(e){var t,o,i;T.current=(t=q(e),o=Q(e),{startX:t,startY:o,startT:new Date,duration:0,isPressed:!0,isY:!1,isX:!1,isSlideX:!1,isSlideY:!1,isSlide:!1,shiftX:0,shiftY:0,shiftXAbs:0,shiftYAbs:0}),L(e,[n,r,a]),(i=$()?e.target:N)&&H.forEach((function(e){return e.add(i)}))}),{capture:y,passive:!1}),z=re(k);function j(e){var t,n=null!==(t=T.current)&&void 0!==t?t:{},r=n.isPressed,a=n.isSlide,o=n.isSlideX,i=n.isSlideY;r&&L(e,[s,i&&f,o&&d]),P.current=Boolean(a),T.current={},$()&&u&&u(e),H.forEach((function(e){return e.remove()}))}ae((function(){var e=z.current;e&&(M.add(e),A.add(e),R.add(e))}),[w]);var D={capture:y,passive:!1},H=[oe(O[1],(function(e){var t,n=null!==(t=T.current)&&void 0!==t?t:{},r=n.isPressed,a=n.isX,u=n.isY,c=n.startX,s=void 0===c?0:c,d=n.startY,f=void 0===d?0:d;if(r){var p,v=q(e)-s,m=Q(e)-f,g=Math.abs(v),y=Math.abs(m);if(e.touches&&e.touches.length>1)return j(e);if(!a&&!u){var b=g>=h&&g>y,w=y>=h&&y>g,k=b&&(!!i||!!o),E=w&&(!!l||!!o);T.current&&Object.assign(T.current,{isY:w,isX:b,isSlideX:k,isSlideY:E,isSlide:k||E})}null!==(p=T.current)&&void 0!==p&&p.isSlide&&(Object.assign(T.current,{shiftX:v,shiftY:m,shiftXAbs:g,shiftYAbs:y}),L(e,[o,T.current.isSlideX&&i,T.current.isSlideY&&l]))}}),D),oe(O[2],j,D),oe(O[3],j,D)];return e.createElement(w,I({},x,{onDragStart:function(e){var t=e.target;"A"!==t.tagName&&"IMG"!==t.tagName||e.preventDefault()},onClickCapture:function(e){if(!P.current)return p&&p(e);e.target.closest("a")&&e.preventDefault(),S?e.stopPropagation():p&&p(e),P.current=!1},ref:z}))};!function(e){e.VKAPPS="vkapps",e.INTERNAL="internal"}(ie||(ie={}));var ce,se,de,fe=e.createContext({webviewType:ie.VKAPPS,isWebView:a().isWebView(),transitionMotionEnabled:!0,platform:G(),appearance:void 0,locale:"ru"}),pe=function(){return e.useContext(fe)};function ve(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none",n=arguments.length>2?arguments[2]:void 0,r="".concat(String(e),"--sizeX-").concat(t);return n?n[r]:r}function me(e,t,n){var r="".concat(String(e),"--viewWidth-");switch(t){case ce.SMALL_MOBILE:r+="smallMobile";break;case ce.MOBILE:r+="mobile";break;case ce.SMALL_TABLET:r+="smallTablet";break;case ce.TABLET:r+="tablet";break;case ce.DESKTOP:r+="desktop";break;default:r+="none"}return r=n?n[r]:r,t&&t>=ce.SMALL_TABLET&&(r+=n?" "+n["".concat(String(e),"--viewWidth-smallTabletPlus")]:" ".concat(String(e),"--viewWidth-smallTabletPlus")),t&&t>=ce.TABLET&&(r+=n?" "+n["".concat(String(e),"--viewWidth-tabletPlus")]:" ".concat(String(e),"--viewWidth-tabletPlus")),r}!function(e){e[e.SMALL_MOBILE=1]="SMALL_MOBILE",e[e.MOBILE=2]="MOBILE",e[e.SMALL_TABLET=3]="SMALL_TABLET",e[e.TABLET=4]="TABLET",e[e.DESKTOP=5]="DESKTOP"}(ce||(ce={})),function(e){e[e.EXTRA_SMALL=1]="EXTRA_SMALL",e[e.SMALL=2]="SMALL",e[e.MEDIUM=3]="MEDIUM"}(se||(se={})),function(e){e.COMPACT="compact",e.REGULAR="regular"}(de||(de={}));var he=e.createContext({}),ge=function(){return e.useContext(he)};function ye(t){var n,r,a=e.useRef(t);return n=a.current,r=t,Object.keys(n).length===Object.keys(r).length&&Object.keys(n).every((function(e){return n[e]===r[e]}))||(a.current=t),a.current}var be=n(969),we={window:void 0,mediaQueries:null},ke=function(){var t=ee().window;return e.useMemo((function(){if(we.window===t&&null!==we.mediaQueries)return we.mediaQueries;var e=t?t.matchMedia.bind(t):F;return we.window=t,we.mediaQueries={desktopPlus:e(be.MEDIA_QUERIES.DESKTOP_PLUS),smallTabletPlus:e(be.MEDIA_QUERIES.SMALL_TABLET_PLUS),tablet:e(be.MEDIA_QUERIES.TABLET),smallTablet:e(be.MEDIA_QUERIES.SMALL_TABLET),mobile:e(be.MEDIA_QUERIES.MOBILE),mediumHeight:e(be.MEDIA_QUERIES.MEDIUM_HEIGHT),mobileLandscapeHeight:e(be.MEDIA_QUERIES.MOBILE_LANDSCAPE_HEIGHT)},we.mediaQueries}),[t])};function Ee(e,t){e.addEventListener?e.addEventListener("change",t):e.addListener(t)}function Se(e,t){e.removeEventListener?e.removeEventListener("change",t):e.removeListener(t)}var _e=["children","width","maxWidth","minWidth","spaced","animate","fixed","style","autoSpaced","stretchedOnMobile","className"];var Ce=e.createContext({colRef:null,animate:!0}),xe=function(t){var n=t.children,r=t.width,a=t.maxWidth,o=t.minWidth,i=t.spaced,l=t.animate,u=t.fixed,s=t.style,d=t.autoSpaced,f=t.stretchedOnMobile,p=t.className,v=B(t,_e),m=e.useRef(null),h=ge(),y=h.viewWidth,b=h.sizeX,w=function(t){var n=ge().viewWidth,r=c(e.useState(Boolean(t)),2),a=r[0],o=r[1],i=ke();return e.useEffect((function(){if(void 0===t){if(void 0===n){var e=function(){return o(!i.smallTabletPlus.matches)};return e(),Ee(i.smallTabletPlus,e),function(){Se(i.smallTabletPlus,e)}}o(n<ce.TABLET)}else o(t)}),[t,n,i]),a}(l),k=ye({colRef:m,animate:w});return e.createElement("div",I({},v,{style:Y(Y({},s),{},{width:r,maxWidth:a,minWidth:o}),ref:m,className:g("vkuiSplitCol",ve("vkuiSplitCol",b),me("vkuiSplitCol",y),i&&"vkuiSplitCol--spaced",void 0===i&&"vkuiSplitCol--spaced-none",d&&"vkuiSplitCol--spaced-auto",u&&"vkuiSplitCol--fixed",f&&"vkuiSplitCol--stretched-on-mobile",p)}),e.createElement(Ce.Provider,{value:k},u?e.createElement("div",{className:"vkuiSplitCol__fixedInner"},n):n))},Ne=function(e,t,n){return Math.max(t,Math.min(e,n))};var Oe=function(e){Object.assign(e.style,{position:"",top:"",left:"",right:"",overflowY:"",overflowX:""})},Pe=function(e){var t=e.document.documentElement.clientHeight-e.innerHeight;return e.pageYOffset-t},Te=e.createContext({getScroll:function(){return{x:0,y:0}},scrollTo:y,isScrollLock:!1,enableScrollLock:y,disableScrollLock:y}),Le=function(){return e.useContext(Te)},Me=function(t){var n=t.children,r=ee(),a=r.window,o=r.document,i=c(e.useState(!1),2),l=i[0],u=i[1],s=e.useRef(new Set),d=e.useCallback((function(){return{x:a.pageXOffset,y:Pe(a)}}),[a]),f=e.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;a.scrollTo(e?Ne(e,0,o.body.scrollWidth-a.innerWidth):0,t?Ne(t,0,o.body.scrollHeight-a.innerHeight):0)}),[o,a]),p=e.useCallback((function(){s.current.forEach((function(e){e()}));var e=a.pageYOffset,t=a.pageXOffset,n=a.innerWidth>o.documentElement.clientWidth?"scroll":"",r=a.innerHeight>o.documentElement.clientHeight?"scroll":"";Object.assign(o.body.style,{position:"fixed",top:"-".concat(e,"px"),left:"-".concat(t,"px"),right:"0",overflowY:n,overflowX:r}),u(!0)}),[o,a]),v=e.useCallback((function(){var e=o.body.style.top,t=o.body.style.left;Oe(o.body),a.scrollTo(-parseInt(t||"0"),-parseInt(e||"0")),u(!1)}),[o,a]),m=e.useMemo((function(){return{getScroll:d,scrollTo:f,isScrollLock:l,disableScrollLock:v,enableScrollLock:p,beforeScrollLockFnSetRef:s}}),[d,f,l,v,p]);return e.createElement(Te.Provider,{value:m},n)},Ae=function(t){var n=t.elRef,r=t.children,a=c(e.useState(!1),2),o=a[0],i=a[1],l=e.useRef(new Set),u=e.useCallback((function(){var e,t,r,a;return{x:null!==(e=null===(t=n.current)||void 0===t?void 0:t.scrollLeft)&&void 0!==e?e:0,y:null!==(r=null===(a=n.current)||void 0===a?void 0:a.scrollTop)&&void 0!==r?r:0}}),[n]),s=e.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=n.current;null===r||void 0===r||r.scrollTo(e?Ne(e,0,r.scrollWidth-r.clientWidth):0,t?Ne(t,0,r.scrollHeight-r.clientHeight):0)}),[n]),d=e.useCallback((function(){var e=n.current;if(e){l.current.forEach((function(e){e()}));var t=e.scrollTop,r=e.scrollLeft,a=e.scrollWidth>e.clientWidth?"scroll":"",o=e.scrollHeight>e.clientHeight?"scroll":"";Object.assign(e.style,{position:"absolute",top:"-".concat(t,"px"),left:"-".concat(r,"px"),right:"0",overflowY:a,overflowX:o}),i(!0)}}),[n]),f=e.useCallback((function(){var e=n.current;if(e){var t=e.style.top,r=e.style.left;Oe(e),e.scrollTo(-parseInt(r||"0"),-parseInt(t||"0")),i(!1)}}),[n]),p=e.useMemo((function(){return{getScroll:u,scrollTo:s,isScrollLock:o,disableScrollLock:f,enableScrollLock:d,beforeScrollLockFnSetRef:l}}),[u,s,o,f,d]);return e.createElement(Te.Provider,{value:p},r)},Re=e.createContext({entering:!1}),Ie=function(t){var n=t.children,r=t.entering,a=ye({entering:e.useContext(Re).entering||r});return e.createElement(Re.Provider,{value:a},n)};function Be(e,t){return e.nav||e.id}function ze(e){var t=new Set;return function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"warn";if(!t.has(n)){t.add(n);var a="%c[VKUI/".concat(e,"] ").concat(n),o="log"===r?"color: steelblue; font-style: italic":void 0;console[r](a,o)}}}function je(){return pe().platform}function De(t,n){var r=e.useRef({cb:t,duration:n});ae((function(){r.current.cb=t,r.current.duration=n}),[t,n]);var a=e.useRef(),o=e.useCallback((function(){f&&null!==a&&void 0!==a&&a.current&&clearTimeout(a.current)}),[]),i=e.useCallback((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:r.current.duration;o(),f&&(a.current=setTimeout((function(){var e=r.current.cb;"function"===typeof e&&e()}),e))}),[o]);return ae((function(){return o}),[]),{set:i,clear:o}}function He(t){var n=e.useRef();return e.useEffect((function(){n.current=t})),n.current}var We,Ve=["activePanel","history","nav","onTransition","onSwipeBack","onSwipeBackStart","onSwipeBackCancel","children","className"];!function(e){e[e.fail=1]="fail",e[e.success=2]="success"}(We||(We={}));var Fe={},Ue=(ze("View"),function(t){var n=t.activePanel,r=t.history,a=t.nav,o=t.onTransition,i=t.onSwipeBack,l=t.onSwipeBackStart,u=t.onSwipeBackCancel,s=t.children,d=t.className,p=B(t,Ve),v=e.useRef(Fe[Be({nav:a,id:p.id})]||{}),m=e.useRef(y);e.useEffect((function(){return function(){var e=Be({nav:a,id:p.id});e&&(Fe[e]=v.current)}}));var h=e.useRef({}),b=ee(),w=b.window,k=b.document,E=Le(),S=pe(),_=e.useContext(Ce),C=je(),x=c(e.useState(!1),2),N=x[0],O=x[1],P=c(e.useState([n]),2),T=P[0],L=P[1],M=c(e.useState(n),2),A=M[0],R=M[1],z=c(e.useState(void 0),2),j=z[0],V=z[1],F=c(e.useState(null),2),U=F[0],K=F[1],G=c(e.useState(null),2),X=G[0],Y=G[1],q=c(e.useState(!1),2),Q=q[0],$=q[1],Z=c(e.useState(!1),2),J=Z[0],ne=Z[1],re=c(e.useState(0),2),oe=re[0],ie=re[1],le=c(e.useState(0),2),ce=le[0],se=le[1],de=c(e.useState(null),2),fe=de[0],ve=de[1],me=c(e.useState(null),2),he=me[0],ge=me[1],ye=c(e.useState(null),2),be=ye[0],we=ye[1],ke=c(e.useState(!1),2),Ee=ke[0],Se=ke[1],_e=He(n),xe=He(Q),Ne=He(Ee),Oe=He(be),Pe=He(he),Te=He(o),Me=e.Children.toArray(s).filter((function(e){var t=Be(e.props);return void 0!==t&&T.includes(t)||t===he||t===fe})),Ae=!1===(null===S||void 0===S?void 0:S.transitionMotionEnabled)||!(null!==_&&void 0!==_&&_.animate)||C===W.VKCOM,Re=function(e){return null===e?null:h.current[e]},ze=e.useCallback((function(e,t){t&&(v.current[e]=0),K(null),Y(null),L([n]),R(n),O(!1),V(void 0),m.current=function(){null===E||void 0===E||E.scrollTo(0,t?v.current[n]:0),o&&o({isBack:t,from:e,to:n})}}),[n,o,E]);ae((function(){m.current(),m.current=y}),[m.current]);var Ue=e.useCallback((function(e){e&&!["vkui-animation-ios-next-forward","vkui-animation-ios-prev-back","vkui-animation-view-next-forward","vkui-animation-view-prev-back"].includes(e.animationName)||null===U||ze(U,Boolean(j))}),[ze,j,U]),Ke=function(){var t=e.useRef(null),n=ee().document,r=e.useRef(y),a=e.useCallback((function(){r.current(),r.current=y}),[]);return{waitTransitionFinish:e.useCallback((function(e,o,i){e&&(null!==n&&void 0!==n&&n.hidden||!H.supported||!H.name?(null!==t&&void 0!==t&&t.current&&clearTimeout(t.current),t.current=setTimeout(o,i)):(a(),e.addEventListener(H.name,o),r.current=function(){H.name&&e.removeEventListener(H.name,o)}))}),[n,a,t])}}(),Ge=Ke.waitTransitionFinish,Xe=De(Ue,C===W.IOS?600:300),Ye=e.useCallback((function(){i&&i()}),[i]),qe=e.useCallback((function(){u&&u(),ge(null),ve(null),$(!1),we(null),ie(0),se(0)}),[u]),Qe=e.useCallback((function(e){if(!e||null!==e&&void 0!==e&&e.propertyName.includes("transform")&&(null===e||void 0===e?void 0:e.target)===Re(fe))switch(be){case We.fail:qe();break;case We.success:Ye()}}),[qe,Ye,fe,be]),$e=e.useCallback((function(e){if(Q){var t,n=ce/e.duration*1e3;0===ce?qe():ce>=(null!==(t=w.innerWidth)&&void 0!==t?t:0)?Ye():n>250||oe+ce>w.innerWidth/2?we(We.success):we(We.fail)}J&&ne(!1)}),[qe,Ye,ce,oe,Q,J,w]),Ze=function(e){if(!f||!w)return{};var t=e===he,n=e===fe;if(!t&&!n||be)return{};var r="".concat(ce,"px"),a="".concat(100*ce/w.innerWidth/2-50,"%"),o=.3*(w.innerWidth-ce)/w.innerWidth;return be?t?{boxShadow:"-2px 0 12px rgba(0, 0, 0, ".concat(o,")")}:{}:n?{transform:"translate3d(".concat(a,", 0, 0)"),WebkitTransform:"translate3d(".concat(a,", 0, 0)")}:t?{transform:"translate3d(".concat(r,", 0, 0)"),WebkitTransform:"translate3d(".concat(r,", 0, 0)"),boxShadow:"-2px 0 12px rgba(0, 0, 0, ".concat(o,")")}:{}};return e.useEffect((function(){if(_e&&_e!==n&&!xe&&!Ne){var t=e.Children.toArray(s).map((function(e){return Be(e.props)})).find((function(e){return e===_e||e===n}))===n;v.current[_e]=null===E||void 0===E?void 0:E.getScroll().y,Ae?ze(_e,t):(te(k),L([_e,n]),K(_e),Y(n),R(null),O(!0),V(t),D.supported||Xe.set())}if(_e&&_e!==n&&xe){var r=n,a=_e;Pe&&(v.current[Pe]=0),ge(null),ve(null),$(!1),we(null),ie(0),se(0),R(r),L([r]),m.current=function(){null!==r&&(null===E||void 0===E||E.scrollTo(0,v.current[r])),Te&&Te({isBack:!0,from:a,to:r})}}!Oe&&be&&Ge(Re(fe),Qe,C===W.IOS?600:300),Oe!==We.fail||be||null===A||null===E||void 0===E||E.scrollTo(0,v.current[A]),_e!==n&&Ee&&(Se(!1),Y(null),K(null),O(!1),L([n]),R(n))}),[n,A,Xe,Ee,s,Ae,k,ze,l,Me,C,_e,Ne,Te,Pe,Oe,xe,E,fe,be,Q,Qe,Ge]),e.createElement(ue,I({Component:"section"},p,{className:g("vkuiView",C===W.IOS&&"vkuiView--ios",!Ae&&N&&"vkuiView--animated",!Ae&&Q&&"vkuiView--swiping-back",Ae&&"vkuiView--no-motion",d),onMoveX:function(e){if(!(C!==W.IOS||J||function(e){var t,n=e.originalEvent.target;return Boolean(null===n||void 0===n||null===(t=n.closest)||void 0===t?void 0:t.call(n,"input, textarea, [data-vkui-swipe-back=false]"))}(e)||Ae))if(null!==S&&void 0!==S&&S.isWebView){if(i&&!(N&&e.startX<=70)){if(!Q&&e.startX<=70&&r&&r.length>1){if(l)if("prevent"===l(A))return void ne(!0);null!==A&&(te(k),v.current[A]=null===E||void 0===E?void 0:E.getScroll().y),$(!0),ie(e.startX),ge(A),ve(r.slice(-2)[0])}if(Q){var t=0;t=e.shiftX<0?0:e.shiftX>w.innerWidth-oe?w.innerWidth:e.shiftX,se(t)}}}else(e.startX<=70||e.startX>=w.innerWidth-70)&&!Ee&&Se(!0)},onEnd:$e}),e.createElement("div",{className:"vkuiView__panels"},Me.map((function(t){var n,r=Be(t.props),a=N&&r===(j?U:X),o=r===U||r===he||r===fe||r===X&&j;return e.createElement("div",{className:g("vkuiView__panel",r===A&&"vkuiView__panel--active",r===U&&"vkuiView__panel--prev",r===X&&"vkuiView__panel--next",r===he&&"vkuiView__panel--swipe-back-prev",r===fe&&"vkuiView__panel--swipe-back-next",be===We.success&&"vkuiView__panel--swipe-back-success",be===We.fail&&"vkuiView__panel--swipe-back-failed"),onAnimationEnd:a?Ue:void 0,ref:function(e){return void 0!==r&&(h.current[r]=e)},style:Ze(r),key:r},e.createElement("div",{className:"vkuiView__panel-in",style:{marginTop:o?-(null!==(n=v.current[r])&&void 0!==n?n:0):void 0}},e.createElement(Ie,{entering:r===X||r===fe},t)))}))))}),Ke=["fixed"],Ge=e.forwardRef((function(t,n){var r=t.fixed,a=void 0!==r&&r,o=B(t,Ke);return o["data-tooltip-container"]=a?"fixed":"true",e.createElement("div",I({},o,{ref:n}))})),Xe=["centered","children","getRootRef","nav","className"],Ye=function(t){var n=t.centered,r=void 0!==n&&n,a=t.children,o=t.getRootRef,i=(t.nav,t.className),l=B(t,Xe),u=je(),c=ge().sizeX;return e.createElement("div",I({},l,{ref:o,className:g("vkuiPanel",ve("vkuiPanel",c),r&&"vkuiPanel--centered",i)}),e.createElement(ue,{Component:Ge,className:"vkuiPanel__in"},u===W.IOS&&e.createElement("div",{className:"vkuiPanel__fade"}),e.createElement("div",{className:"vkuiPanel__in-before"}),r?e.createElement("div",{className:"vkuiPanel__centered"},a):a,e.createElement("div",{className:"vkuiPanel__in-after"})))};function qe(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:G(),n=arguments.length>2?arguments[2]:void 0,r="".concat(String(e),"--").concat(t);return n?n[r]:r}function Qe(e,t,n,r){var a=oe(t,n,r);ae((function(){n&&e?a.add(e):a.remove()}),[Boolean(n),Boolean(e)])}var $e=["children","style","vertical","getRootRef","getRef","filled","className"],Ze=function(t){var n=t.children,r=t.style,a=t.vertical,o=t.getRootRef,i=t.getRef,l=t.filled,u=t.className,s=B(t,$e),d=je(),f=re(o,i),p=c(e.useState(void 0),2),v=p[0],m=p[1],h=ee().window,y=e.useContext(Ce).colRef,b=function(){if(null!==y&&void 0!==y&&y.current){var e=getComputedStyle(y.current);m("".concat(y.current.clientWidth-parseFloat(e.paddingLeft)-parseFloat(e.paddingRight),"px"))}else m(void 0)};return e.useEffect(b,[y,d]),Qe(h,"resize",b),e.createElement(Ge,I({},s,{fixed:!0,ref:f,className:g("vkuiFixedLayout",d===W.IOS&&"vkuiFixedLayout--ios",l&&"vkuiFixedLayout--filled",a&&Je["FixedLayout--vertical-".concat(a)],u),style:Y(Y({},r),{},{width:v})}),n)},Je={"FixedLayout--vertical-top":"vkuiFixedLayout--vertical-top","FixedLayout--vertical-bottom":"vkuiFixedLayout--vertical-bottom"},et=["wide","className"],tt=function(t){var n=t.wide,r=t.className,a=B(t,et);return e.createElement("div",I({},a,{"aria-hidden":!0,className:g("vkuiSeparator",!n&&"vkuiSeparator--padded",r),role:"separator"}),e.createElement("div",{className:"vkuiSeparator__in"}))};function nt(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none",n=arguments.length>2?arguments[2]:void 0,r="".concat(String(e),"--sizeY-").concat(t);return n?n[r]:r}var rt=["className","children","weight","Component","getRootRef"],at=(ze("Text"),function(t){var n=t.className,r=t.children,a=t.weight,o=t.Component,i=void 0===o?"span":o,l=t.getRootRef,u=B(t,rt);var c=ge().sizeY;return e.createElement(i,I({},u,{ref:l,className:g(n,"vkuiText",nt("vkuiText",c),a&&ot["Text--weight-".concat(a)])}),r)}),ot={"Text--weight-1":"vkuiText--weight-1","Text--weight-2":"vkuiText--weight-2","Text--weight-3":"vkuiText--weight-3"},it=e.createContext({updateModalHeight:function(){},registerModal:function(){},isInsideModal:!1});var lt=k({mq:{className:"vkui-sizeX--compact-mq"}},de.COMPACT,{className:"vkui-sizeX--compact-forced"}),ut=k({mq:{className:"vkui-sizeX--regular-mq"}},de.REGULAR,{className:"vkui-sizeX--regular-forced"}),ct=k({mq:{className:"vkui-sizeY--compact-mq"}},de.COMPACT,{className:"vkui-sizeY--compact-forced"}),st=k({mq:{className:"vkui-sizeY--regular-mq"}},de.REGULAR,{className:"vkui-sizeY--regular-forced"}),dt={tabletMinus:{mq:{className:"vkui-viewWidth--tabletMinus-mq"},forced:{className:"vkui-viewWidth--tabletMinus-forced"}},tabletPlus:{mq:{className:"vkui-viewWidth--tabletPlus-mq"},forced:{className:"vkui-viewWidth--tabletPlus-forced"}}},ft={mobile:{mq:{className:"vkui-deviceType--mobile-mq"},forced:{className:"vkui-deviceType--mobile-forced"}},desktop:{mq:{className:"vkui-deviceType--desktop-mq"},forced:{className:"vkui-deviceType--desktop-forced"}}};function pt(e){return e.desktopPlus.matches?ce.DESKTOP:e.tablet.matches?ce.TABLET:e.smallTablet.matches?ce.SMALL_TABLET:e.mobile.matches?ce.MOBILE:ce.SMALL_MOBILE}function vt(e){return e.mediumHeight.matches?se.MEDIUM:e.mobileLandscapeHeight.matches?se.SMALL:se.EXTRA_SMALL}function mt(e,t,n,r){var a=r===W.VKCOM;if((void 0===e||void 0===n)&&(void 0===e||void 0===t)||void 0===n&&void 0===t)return!!a||null;var o=e>=ce.SMALL_TABLET,i=n||void 0!==t&&t>=se.MEDIUM;return o&&i||a}var ht=function(e,t,n){return{compact:void 0===e?t.mq:e===de.COMPACT&&t[e],regular:void 0===e?n.mq:e===de.REGULAR&&n[e]}},gt=function(){var t=e.useContext(he),n=t.sizeX,r=t.sizeY,a=t.viewWidth,o=t.viewHeight,i=t.hasPointer,l=je();return e.useMemo((function(){var e=ht(n,lt,ut),t=ht(r,ct,st),u=function(e,t){return{tabletMinus:void 0===e?t.tabletMinus.mq:e<ce.TABLET&&t.tabletMinus.forced,tabletPlus:void 0===e?t.tabletPlus.mq:e>=ce.TABLET&&t.tabletPlus.forced}}(a,dt),c=function(e,t,n,r,a){var o=mt(e,t,n,r);return null===o?{mobile:a.mobile.mq,desktop:a.desktop.mq}:o?{mobile:!1,desktop:a.desktop.forced}:{mobile:a.mobile.forced,desktop:!1}}(a,o,i,l,ft);return{sizeX:e,sizeY:t,viewWidth:u,deviceType:c}}),[n,r,a,o,i,l])},yt=["size","style","className"],bt=function(t){var n=t.size,r=void 0===n?8:n,a=t.style,o=t.className,i=B(t,yt),l=Y({height:r},a);return e.createElement("div",I({},i,{"aria-hidden":!0,className:g(o,"vkuiSpacing"),style:l}))},wt=["before","children","after","separator","visor","transparent","shadow","getRef","getRootRef","fixed","className"],kt=function(t){var n=t.before,r=t.after,a=t.separator,o=t.children,i=pe().webviewType,l=e.useContext(it).isInsideModal,u=je();return e.createElement(e.Fragment,null,e.createElement(Ge,{fixed:!0,className:"vkuiPanelHeader__in"},e.createElement("div",{className:"vkuiPanelHeader__before"},n),e.createElement("div",{className:"vkuiPanelHeader__content"},u===W.VKCOM?e.createElement(at,{weight:"2"},o):e.createElement("span",{className:"vkuiPanelHeader__content-in"},o)),e.createElement("div",{className:"vkuiPanelHeader__after"},(i===ie.INTERNAL||l)&&r)),a&&u===W.VKCOM&&e.createElement(tt,{wide:!0}))},Et=function(t){var n=t.before,r=t.children,a=t.after,o=t.separator,i=void 0===o||o,l=t.visor,u=void 0===l||l,c=t.transparent,s=void 0!==c&&c,d=t.shadow,f=t.getRef,p=t.getRootRef,v=t.fixed,m=t.className,h=B(t,wt),y=je(),b=pe().webviewType,w=e.useContext(it).isInsideModal,k=ge().sizeX,E=gt().sizeX,S=void 0!==v?v:y!==W.VKCOM;return e.createElement("div",I({},h,{className:g("vkuiPanelHeader",qe("vkuiPanelHeader",y),s&&"vkuiPanelHeader--trnsp",d&&"vkuiPanelHeader--shadow",u&&"vkuiPanelHeader--vis",i&&u&&"vkuiPanelHeader--sep",b===ie.VKAPPS&&!w&&"vkuiPanelHeader--vkapps",!n&&"vkuiPanelHeader--no-before",!a&&"vkuiPanelHeader--no-after",S&&"vkuiPanelHeader--fixed",ve("vkuiPanelHeader",k),m),ref:S?p:f}),S?e.createElement(Ze,{className:"vkuiPanelHeader__fixed",vertical:"top",getRootRef:f},e.createElement(kt,{before:n,after:a,separator:i},r)):e.createElement(kt,{before:n,after:a,separator:i},r),i&&u&&y!==W.VKCOM&&e.createElement(e.Fragment,null,E.compact&&e.createElement(tt,{className:E.compact.className}),E.regular&&e.createElement(bt,{className:E.regular.className,size:16})))},St=e.createContext({portalRoot:null}),_t=function(e,t){var n;switch(e){case W.ANDROID:n="vkBase";break;case W.IOS:n="vkIOS";break;case W.VKCOM:n="vkCom";break;default:n=e}return"vkui--".concat(n,"--").concat(t)},Ct=function(t){var n=t.children,r=t.platform,a=t.appearance;return e.createElement(e.Fragment,null,e.Children.map(n,(function(t){return e.isValidElement(t)?e.cloneElement(t,{className:g(t.props.className,_t(r,a))}):t})))},xt=["children"];function Nt(t){var n=t.children,r=B(t,xt),a=ye(Y(Y({},pe()),r));return e.createElement(fe.Provider,{value:a},n)}var Ot=function(t){var n=t.appearance,r=t.children,a=je();return e.createElement(Nt,{appearance:n},e.createElement(Ct,{platform:a,appearance:n},r))};function Pt(){var e=pe().appearance;return null!==e&&void 0!==e?e:"light"}function Tt(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=e.useState(t),r=c(n,2),a=r[0],o=r[1];return e.useEffect((function(){o(!0)}),[]),a}var Lt=function(n){var r=n.children,a=n.className,o=n.forcePortal,i=e.useContext(St),l=i.portalRoot,u=i.mode,c=i.disablePortal,s=Pt();return Tt()?!c&&l&&(null!==o&&void 0!==o?o:"full"!==u)?(0,t.createPortal)(e.createElement(Ot,{appearance:s},e.createElement("div",{className:a},r)),l):e.createElement(e.Fragment,null,r):null};function Mt(e,t){return null!==e&&void 0!==e?e:t}var At=function(){f||console.error("[useAdaptivityWithJSMediaQueries] \u041f\u043e\u0445\u043e\u0436\u0435, \u0432\u044b \u043f\u044b\u0442\u0430\u0435\u0442\u0435\u0441\u044c \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0445\u0443\u043a \u0432\u043d\u0435 \u0431\u0440\u0430\u0443\u0437\u0435\u0440\u0430.\n\n\u041f\u043e\u0441\u0442\u0430\u0440\u0430\u0439\u0442\u0435\u0441\u044c \u044d\u0442\u043e\u0433\u043e \u0438\u0437\u0431\u0435\u0433\u0430\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0431\u044b\u043b\u043e \u043e\u0448\u0438\u0431\u043e\u043a \u043f\u0440\u0438 \u0433\u0438\u0434\u0440\u0430\u0442\u0430\u0446\u0438\u0438: \u043f\u0440\u0438 SSR \u043d\u0435\u0442 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u043e \u0440\u0430\u0437\u043c\u0435\u0440\u0430\u0445 \u044d\u043a\u0440\u0430\u043d\u0430.\n\n\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 CSS Media Query \u0438\u043b\u0438 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u043f\u043e \u0442\u0438\u043f\u0443 https://github.com/artsy/fresnel.");var t=e.useContext(he),n=t.viewWidth,r=t.viewHeight,a=t.sizeX,o=t.sizeY,i=t.hasPointer,l=t.hasHover,u=je(),s=ke(),d=c(e.useState((function(){return[Mt(n,pt(s)),Mt(r,vt(s))]})),2),p=c(d[0],2),v=p[0],m=p[1],h=d[1],g=e.useMemo((function(){var e=Mt(i,O),t=Mt(l,P),c=Mt(n,v),s=Mt(r,m),d=Mt(a,function(e){return e<=ce.MOBILE?de.COMPACT:de.REGULAR}(c)),f=Mt(o,function(e,t,n){return e>=ce.SMALL_TABLET&&n||t<=se.EXTRA_SMALL?de.COMPACT:de.REGULAR}(c,s,e));return{viewWidth:c,viewHeight:s,sizeX:d,sizeY:f,hasPointer:e,hasHover:t,isDesktop:mt(c,s,e,u)}}),[v,m,n,r,a,o,i,l,u]);return e.useEffect((function(){var e=function(){h((function(e){var t=Mt(n,pt(s)),a=Mt(r,vt(s)),o=c(e,2),i=o[0],l=o[1];return i!==t||l!==a?[t,a]:e}))};return n||[s.desktopPlus,s.tablet,s.smallTablet,s.mobile].forEach((function(t){return Ee(t,e)})),r||[s.mediumHeight,s.mobileLandscapeHeight].forEach((function(t){return Ee(t,e)})),function(){[s.desktopPlus,s.tablet,s.smallTablet,s.mobile,s.mediumHeight,s.mobileLandscapeHeight].forEach((function(t){return Se(t,e)}))}}),[s,n,r]),g},Rt=["popout","modal","children","getRootRef","className"],It=function(t){var n=t.children,r=At().isDesktop;return e.createElement("div",{className:g("vkuiPopoutRoot__popout",r&&"vkuiPopoutRoot__popout--absolute")},n)},Bt=function(t){var n=t.children;return e.createElement("div",{className:"vkuiPopoutRoot__modal"},n)},zt=function(t){var n=t.popout,r=t.modal,a=t.children,o=t.getRootRef,i=t.className,l=B(t,Rt),u=ee().document;return e.useEffect((function(){n&&te(u)}),[u,n]),e.createElement("div",I({},l,{className:g("vkuiPopoutRoot",i),ref:o}),a,e.createElement(Lt,null,!!n&&e.createElement(It,null,n),!!r&&e.createElement(Bt,null,r)))},jt=["popout","modal","header","children","getRootRef","getRef","className"],Dt=function(t){var n=t.popout,r=t.modal,a=t.header,o=t.children,i=t.getRootRef,l=t.getRef,u=t.className,c=B(t,jt),s=je();return e.createElement(zt,{className:g("vkuiSplitLayout",s===W.IOS&&"vkuiSplitLayout--ios"),popout:n,modal:r,getRootRef:i},a,e.createElement("div",I({},c,{ref:l,className:g("vkuiSplitLayout__inner",!!a&&"vkuiSplitLayout__inner--header",u)}),o))},Ht=n(111),Wt=n.n(Ht);function Vt(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var Ft,Ut=e.createContext({}),Kt=function(t){var n=t.children,r=Vt(t,["children"]),a=e.useMemo((function(){return r}),[r.classPrefix,r.globalClasses]);return e.createElement(Ut.Provider,{value:a},n)},Gt=n(696),Xt=n.n(Gt),Yt=!("undefined"===typeof window||!window.document||!window.document.createElement);if(Yt){var qt="__SVG_SPRITE_NODE__";Ft=new(Xt())({attrs:{id:qt}});var Qt=function e(){var t=document.getElementById(qt);t?Ft.attach(t):Ft.mount(),document.removeEventListener("DOMContentLoaded",e)};document.querySelector("body")?Qt():document.addEventListener("DOMContentLoaded",Qt)}else Ft=null;var $t=Yt?e.useLayoutEffect:e.useEffect;function Zt(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Jt(){return Jt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Jt.apply(this,arguments)}function en(e,t){if(null==e)return{};var n,r,a=function(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var tn=function(t){var n=t.width,r=t.height,a=t.viewBox,o=t.id,i=t.className,l=void 0===i?"":i,u=t.fill,c=t.getRootRef,s=t.style,d=void 0===s?{}:s,f=t.title,p=en(t,["width","height","viewBox","id","className","fill","getRootRef","style","title"]),v=Math.max(n,r),m=e.useContext(Ut),h=function(e,t){for(var n=t.classPrefix,r=t.globalClasses,a="",o=0;o<e.length;o++)n&&(a+=" "+(n+e[o])),n&&!r||(a+=" "+e[o]);return a}(["Icon","Icon--".concat(v),"Icon--w-".concat(n),"Icon--h-".concat(r),"Icon--".concat(o)],m),g=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"===typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),r.forEach((function(t){Zt(e,t,n[t])}))}return e}({width:n,height:r},d);return e.createElement("svg",Jt({"aria-hidden":"true",display:"block"},p,{className:"".concat(h," ").concat(l),viewBox:a,width:n,height:r,style:g,ref:c}),f&&e.createElement("title",null,f),e.createElement("use",{xlinkHref:"#".concat(o),style:{fill:"currentColor",color:u}}))};function nn(t,n,r,a,o,i,l,u){var c=!1;function s(){var e;c||(e=new(Wt())({id:n,viewBox:r,content:a}),Ft&&Ft.add(e),c=!0)}var d=l?function(e){var t={};return function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"warn";t[n]||(console[r]("[@vkontakte/icons][".concat(e,"] ").concat(n)),t[n]=!0)}}(t):null,f=function(t){if($t(s,[]),l){var a=u?". \u0417\u0430\u043c\u0435\u043d\u0438\u0442\u0435 \u043d\u0430 ".concat(u):"";d("\u0418\u043a\u043e\u043d\u043a\u0430 \u0443\u0441\u0442\u0430\u0440\u0435\u043b\u0430"+a)}return e.createElement(tn,Jt({},t,{viewBox:r,id:n,width:isNaN(t.width)?o:+t.width,height:isNaN(t.height)?i:+t.height}))};return f.mountIcon=s,f.displayName=t,f}var rn=nn("Icon16Spinner","spinner_16","0 0 16 16",'<symbol fill="none" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" id="spinner_16"><path clip-rule="evenodd" d="M11.21 2.93a6 6 0 0 0-8.64 7.62 1 1 0 1 1-1.8.86A8 8 0 1 1 8 16a1 1 0 1 1 0-2 6 6 0 0 0 3.21-11.07z" fill="currentColor" fill-rule="evenodd" /></symbol>',16,16,!1,void 0),an=nn("Icon24Spinner","spinner_24","0 0 24 24",'<symbol fill="none" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" id="spinner_24"><path clip-rule="evenodd" d="M16.394 5.077A8.2 8.2 0 0 0 4.58 15.49a.9.9 0 0 1-1.628.767A10 10 0 1 1 12 22a.9.9 0 0 1 0-1.8 8.2 8.2 0 0 0 4.394-15.123z" fill="currentColor" fill-rule="evenodd" /></symbol>',24,24,!1,void 0),on=nn("Icon32Spinner","spinner_32","0 0 32 32",'<symbol viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg" id="spinner_32"><path d="M16 32a1.5 1.5 0 0 1 0-3c7.18 0 13-5.82 13-13S23.18 3 16 3 3 8.82 3 16c0 1.557.273 3.074.8 4.502A1.5 1.5 0 1 1 .986 21.54 15.97 15.97 0 0 1 0 16C0 7.163 7.163 0 16 0s16 7.163 16 16-7.163 16-16 16Z" fill="currentColor" /></symbol>',32,32,!1,void 0),ln=nn("Icon44Spinner","spinner_44","0 0 44 44",'<symbol viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg" id="spinner_44"><path d="M22 44a1.5 1.5 0 0 1 0-3c10.493 0 19-8.507 19-19S32.493 3 22 3 3 11.507 3 22c0 2.208.376 4.363 1.103 6.397a1.5 1.5 0 1 1-2.825 1.01A21.964 21.964 0 0 1 0 22C0 9.85 9.85 0 22 0s22 9.85 22 22-9.85 22-22 22Z" fill="currentColor" /></symbol>',44,44,!1,void 0),un=["size","aria-label","className"],cn=e.memo((function(t){var n=t.size,r=void 0===n?"regular":n,a=t["aria-label"],o=void 0===a?"\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044f...":a,i=t.className,l=B(t,un),u={small:rn,regular:an,medium:on,large:ln}[r];return e.createElement("span",I({role:"status","aria-label":o},l,{className:g("vkuiSpinner",i)}),e.createElement(u,{className:"vkuiSpinner__self"}))}));cn.displayName="Spinner";var sn=nn("Icon24Cancel","cancel_24","0 0 24 24",'<symbol xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24" id="cancel_24"><path d="M7.536 6.264a.9.9 0 0 0-1.272 1.272L10.727 12l-4.463 4.464a.9.9 0 0 0 1.272 1.272L12 13.273l4.464 4.463a.9.9 0 1 0 1.272-1.272L13.273 12l4.463-4.464a.9.9 0 1 0-1.272-1.272L12 10.727 7.536 6.264Z" /></symbol>',24,24,!1,void 0),dn=function(t){return e.createElement("svg",I({className:"vkuiIcon",width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),e.createElement("path",{d:"M9 24L19 34L39 14",stroke:"currentColor",strokeWidth:"3.5",strokeLinecap:"round",strokeLinejoin:"round"}))},fn=function(t){return e.createElement("svg",I({className:"vkuiIcon",width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},t),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M40 24c0 8.837-7.163 16-16 16S8 32.837 8 24 15.163 8 24 8s16 7.163 16 16Zm-10.08-4.33a1.125 1.125 0 0 0-1.59-1.59L24 22.409l-4.33-4.33a1.125 1.125 0 0 0-1.59 0l-.101.116a1.125 1.125 0 0 0 .1 1.476L22.41 24l-4.33 4.33a1.125 1.125 0 0 0 1.591 1.59L24 25.591l4.33 4.33c.439.439 1.151.439 1.59 0l.101-.116a1.125 1.125 0 0 0-.1-1.476L25.59 24l4.33-4.33Z",fill:"currentColor"}))},pn=["alignY","alignX","closing","hasMask","fixed","children","onClick","className"],vn=function(t){var n=t.alignY,r=void 0===n?"center":n,a=t.alignX,o=void 0===a?"center":a,i=t.closing,l=void 0!==i&&i,u=t.hasMask,s=void 0===u||u,d=t.fixed,f=void 0===d||d,p=t.children,v=t.onClick,m=t.className,h=B(t,pn),y=je(),b=c(e.useState(!s),2),w=b[0],k=b[1],E=e.useRef(null),S=function(e){e&&"vkui-animation-full-fade-in"!==e.animationName||k(!0)},_=De(S,y===W.IOS?300:200);return e.useEffect((function(){!w&&_.set()}),[_,w]),Qe(ee().window,"touchmove",(function(e){return e.preventDefault()}),{passive:!1}),e.createElement("div",I({},h,{className:g("vkuiPopoutWrapper",mn["PopoutWrapper--alignY-".concat(r)],mn["PopoutWrapper--alignX-".concat(o)],l&&"vkuiPopoutWrapper--closing",w&&"vkuiPopoutWrapper--opened",f&&"vkuiPopoutWrapper--fixed",s&&"vkuiPopoutWrapper--masked",m),onAnimationEnd:w?void 0:S,ref:E}),e.createElement("div",{className:"vkuiPopoutWrapper__container"},e.createElement("div",{className:"vkuiPopoutWrapper__overlay",onClick:v}),e.createElement("div",{className:"vkuiPopoutWrapper__content"},p)))},mn={"PopoutWrapper--alignY-center":"vkuiPopoutWrapper--alignY-center","PopoutWrapper--alignY-bottom":"vkuiPopoutWrapper--alignY-bottom","PopoutWrapper--alignY-top":"vkuiPopoutWrapper--alignY-top","PopoutWrapper--alignX-center":"vkuiPopoutWrapper--alignX-center","PopoutWrapper--alignX-left":"vkuiPopoutWrapper--alignX-left","PopoutWrapper--alignX-right":"vkuiPopoutWrapper--alignX-right"},hn=["style","className","state","size","aria-label","onClick"],gn=function(t){var n=t.style,r=t.className,a=t.state,o=void 0===a?"loading":a,i=t.size,l=void 0===i?"large":i,u=t["aria-label"],c=void 0===u?"\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u043e\u0434\u043e\u0436\u0434\u0438\u0442\u0435...":u,s=t.onClick,d=B(t,hn),f="done"===o||"error"===o,p={loading:function(){return null},cancelable:sn,done:dn,error:fn}[o];return function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=Le(),n=t.enableScrollLock,r=t.disableScrollLock;ae((function(){return e?(n(),r):y}),[n,r,e])}(),e.createElement(vn,{hasMask:!1,className:g("vkuiScreenSpinner",f&&"vkuiScreenSpinner--hideSpinner",yn["ScreenSpinner--state-".concat(o)],r),style:n},e.createElement("div",{className:"vkuiScreenSpinner__container",onClick:s},e.createElement(cn,I({className:"vkuiScreenSpinner__spinner",size:l,"aria-label":c},d)),e.createElement("div",{className:"vkuiScreenSpinner__icon"},e.createElement(p,null))))},yn={"ScreenSpinner--state-cancelable":"vkuiScreenSpinner--state-cancelable","ScreenSpinner--state-done":"vkuiScreenSpinner--state-done","ScreenSpinner--state-loading":"vkuiScreenSpinner--state-loading","ScreenSpinner--state-error":"vkuiScreenSpinner--state-error"};function bn(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||u(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var wn=e.createContext(!1);var kn;!function(e){e.ENTER="Enter",e.SPACE="Space",e.TAB="Tab",e.ESCAPE="Escape",e.HOME="Home",e.END="End",e.ARROW_LEFT="ArrowLeft",e.ARROW_RIGHT="ArrowRight",e.ARROW_DOWN="ArrowDown"}(kn||(kn={}));var En=[{code:kn.ENTER,key:["Enter"],keyCode:13},{code:kn.SPACE,key:["Space","Spacebar"," "],keyCode:32},{code:kn.TAB,key:["Tab"],keyCode:9},{code:kn.ESCAPE,key:["Escape"],keyCode:27},{code:kn.HOME,key:["Home"],keyCode:36},{code:kn.END,key:["End"],keyCode:35},{code:kn.ARROW_LEFT,key:["ArrowLeft"],keyCode:37},{code:kn.ARROW_RIGHT,key:["ArrowRight"],keyCode:39},{code:kn.ARROW_DOWN,key:["ArrowDown"],keyCode:40}];function Sn(e){var t;return(null===(t=En.find((function(t){var n=t.key,r=t.keyCode;return n.includes(e.key)||r===e.keyCode})))||void 0===t?void 0:t.code)||null}var _n=function(t){var n=t.mode;return e.createElement("span",{"aria-hidden":!0,className:g("vkuiFocusVisible",Cn["FocusVisible--mode-".concat(n)])})},Cn={"FocusVisible--mode-inside":"vkuiFocusVisible--mode-inside","FocusVisible--mode-outside":"vkuiFocusVisible--mode-outside"};var xn=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.filter((function(e){return"function"===typeof e})).forEach((function(e){return e.apply(void 0,n)}))}};function Nn(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=e.useContext(he),r=n.hasPointer,a=void 0===r?O:r,o=Tt(!t);if(o)return a}var On,Pn=["children","Component","onClick","onKeyDown","activeEffectDelay","stopPropagation","getRootRef","hasHover","hoverMode","hasActive","activeMode","focusVisibleMode","onEnter","onLeave","className"],Tn={none:"vkuiTappable--sizeX-none",compact:"vkuiTappable--sizeX-compact",regular:"vkuiTappable--sizeX-regular"},Ln={all:On=On||new Map,on:function(e,t){var n=On.get(e);n?n.push(t):On.set(e,[t])},off:function(e,t){var n=On.get(e);n&&(t?n.splice(n.indexOf(t)>>>0,1):On.set(e,[]))},emit:function(e,t){var n=On.get(e);n&&n.slice().map((function(e){e(t)})),(n=On.get("*"))&&n.slice().map((function(n){n(e,t)}))}},Mn=0,An=1,Rn=2,In=3,Bn=e.createContext({onHoverChange:y});function zn(e){switch(e){case"opacity":case"background":return!0;default:return!1}}var jn=function(t){var n=t.children,r=t.Component,a=t.onClick,o=t.onKeyDown,i=t.activeEffectDelay,l=void 0===i?600:i,u=t.stopPropagation,s=void 0!==u&&u,d=t.getRootRef,f=t.hasHover,p=void 0===f||f,v=t.hoverMode,m=void 0===v?"background":v,h=t.hasActive,b=void 0===h||h,w=t.activeMode,k=void 0===w?"background":w,E=t.focusVisibleMode,S=void 0===E?"inside":E,_=t.onEnter,C=t.onLeave,x=t.className,N=B(t,Pn);r=r||(N.href?"a":"div");var O=e.useContext(Bn).onHoverChange,T=e.useContext(wn),L=je(),M=function(){var t=c((0,e.useState)(!1),2),n=t[0],r=t[1];return{focusVisible:(0,e.useContext)(St).keyboardInput&&n,onFocus:(0,e.useCallback)((function(e){e.stopPropagation(),r(!0)}),[r]),onBlur:(0,e.useCallback)((function(e){e.stopPropagation(),r(!1)}),[r])}}(),A=M.focusVisible,R=M.onBlur,z=M.onFocus,j=ge().sizeX,D=void 0===j?"none":j,H=Nn(),V=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],n=e.useContext(he).hasHover,r=void 0===n?P:n;if(Tt(!t))return r}(),F=c(e.useState([]),2),U=F[0],K=F[1],G=c(e.useState(!1),2),X=G[0],Y=G[1],$=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n=c(e.useState(t),2),r=n[0],a=n[1],o=e.useCallback((function(){a(!0)}),[]),i=e.useCallback((function(){a(!1)}),[]),l=e.useCallback((function(){a(!r)}),[r]);return{value:r,setTrue:o,setFalse:i,toggle:l}}(!1),Z=$.value,J=$.setTrue,ee=$.setFalse,te=Z&&!N.disabled,ne=b&&!X&&!N.disabled,oe=V&&p&&!X,ie="a"!==r&&"button"!==r&&"label"!==r&&!N.contentEditable,le=zn(m),ce=zn(k),se=["inside","outside"].includes(S),de=function(t,n){var r=e.useMemo((function(){return Math.round(1e8*Math.random()).toString(16)}),[]),a=c(e.useState(Mn),2),o=a[0],i=a[1],l=function(){return i(Mn)},u=function(){return t&&i(Rn)},s=De(u,70),d=De(l,n);return ae((function(){return o===An?(s.set(),s.clear):o===In?d.clear:(o===Rn&&Ln.emit("active",r),y)}),[o]),ae((function(){if(o===Mn)return y;var e=function(e){e!==r&&l()};return Ln.on("active",e),function(){return Ln.off("active",e)}}),[o===Mn]),ae((function(){!t&&l()}),[t]),[o,{delayStart:function(){t&&i(An)},start:u,stop:function(e){if(e)return i(In),d.set(e);l()}}]}(ne,l),fe=c(de,2),pe=fe[0],ve=fe[1],me=ve.start,ye=ve.stop,be=ve.delayStart,we=pe===Rn||pe===In,ke=re(d),Ee=e.useRef({onHoverChange:Y}).current;ae((function(){return te?(O(!0),function(){return O(!1)}):y}),[te]);var Se=L===W.ANDROID&&!H&&ne&&"background"===k,_e=De((function(){return K([])}),225);var Ce=g(x,"vkuiTappable",L===W.IOS&&"vkuiTappable--ios",Tn[D],V&&"vkuiTappable--hover-has",ne&&"vkuiTappable--hasActive",oe&&te&&!le&&m,ne&&we&&!ce&&k,A&&!se&&S,ne&&we&&"vkuiTappable--active",oe&&te&&le&&Dn["Tappable--hover-".concat(m)],ne&&we&&ce&&Dn["Tappable--active-".concat(k)],A&&"vkuiTappable--focus-visible"),xe={onStart:xn((function(e){var t=e.originalEvent;if(ne){if(t.touches&&t.touches.length>1)return ye();if(Se){var n=function(e){var t=null===e||void 0===e?void 0:e.getBoundingClientRect();return{top:null===t||void 0===t?void 0:t.top,left:null===t||void 0===t?void 0:t.left,width:null===e||void 0===e?void 0:e.offsetWidth,height:null===e||void 0===e?void 0:e.offsetHeight}}(ke.current),r=n.top,a=n.left;!function(e,t){var n=Date.now(),r=U.filter((function(e){return e.id+225>n}));K([].concat(bn(r),[{x:e,y:t,id:n}])),_e.set()}(q(t)-(null!==a&&void 0!==a?a:0),Q(t)-(null!==r&&void 0!==r?r:0))}be()}}),N.onStart),onMove:xn((function(e){e.isSlide&&ye()}),N.onMove),onEnd:xn((function(e){var t=e.duration;if(pe!==Mn){pe===An&&me();var n=t-70;ye(n>=100?0:l-n)}}),N.onEnd),onClick:a,onKeyDown:xn((function(e){var t;ie&&function(e){var t=e.target,n=t.tagName,r=t.getAttribute("role"),a=!0!==t.isContentEditable&&"INPUT"!==n&&"TEXTAREA"!==n&&("button"===r||"link"===r),o="A"===n&&t.hasAttribute("href"),i=Sn(e);return a&&(i===kn.SPACE&&"button"===r||i===kn.ENTER&&!o)}(e)&&(e.preventDefault(),null===(t=ke.current)||void 0===t||t.click())}),o)},Ne=N.href?"link":"button";return e.createElement(ue,I({onEnter:xn(J,_),onLeave:xn(ee,C),type:"button"===r?"button":void 0,tabIndex:ie&&!N.disabled?0:void 0,role:ie?Ne:void 0,"aria-disabled":ie?N.disabled:void 0,stopPropagation:s&&!T&&!N.disabled},N,{slideThreshold:20,usePointerHover:!0,className:Ce,Component:r,getRootRef:ke,onBlur:xn(R,N.onBlur),onFocus:xn(z,N.onFocus)},N.disabled?{}:xe),e.createElement(Bn.Provider,{value:Ee},n),Se&&e.createElement("span",{"aria-hidden":!0,className:"vkuiTappable__waves"},U.map((function(t){return e.createElement("span",{key:t.id,className:"vkuiTappable__wave",style:{top:t.y,left:t.x}})}))),(oe&&"background"===m||ne&&"background"===k)&&e.createElement("span",{"aria-hidden":!0,className:"vkuiTappable__stateLayer"}),!N.disabled&&se&&e.createElement(_n,{mode:S}))},Dn={"Tappable--hover-has":"vkuiTappable--hover-has","Tappable--hover-background":"vkuiTappable--hover-background","Tappable--hover-opacity":"vkuiTappable--hover-opacity","Tappable--active-background":"vkuiTappable--active-background","Tappable--active-opacity":"vkuiTappable--active-opacity"},Hn=["size","mode","appearance","stretched","align","children","before","after","getRootRef","Component","loading","onClick","stopPropagation","className"],Wn=function(t){var n=t.size,r=void 0===n?"s":n,a=t.mode,o=void 0===a?"primary":a,i=t.appearance,l=void 0===i?"accent":i,u=t.stretched,c=void 0!==u&&u,s=t.align,d=void 0===s?"center":s,f=t.children,p=t.before,v=t.after,m=t.getRootRef,h=t.Component,y=void 0===h?"button":h,b=t.loading,w=t.onClick,k=t.stopPropagation,E=void 0===k||k,S=t.className,_=B(t,Hn),x=Boolean(p||v),N=!f&&Boolean(v)!==Boolean(p),O=ge().sizeY,P=je();return e.createElement(jn,I({hoverMode:"vkuiButton--hover",activeMode:"vkuiButton--active"},_,{Component:_.href?"a":y,onClick:b?void 0:w,focusVisibleMode:"outside",stopPropagation:E,className:g(S,"vkuiButton",Vn["Button--size-".concat(r)],Vn["Button--mode-".concat(o)],Vn["Button--appearance-".concat(l)],Vn["Button--align-".concat(d)],nt("vkuiButton",O),P===W.ANDROID&&"vkuiButton--android",P===W.IOS&&"vkuiButton--ios",c&&"vkuiButton--stretched",x&&"vkuiButton--with-icon",N&&!c&&"vkuiButton--singleIcon",b&&"vkuiButton--loading"),getRootRef:m}),b&&e.createElement(cn,{size:"small",className:"vkuiButton__spinner"}),e.createElement("span",{className:"vkuiButton__in"},C(p)&&e.createElement("span",{className:"vkuiButton__before",role:"presentation","data-testid":void 0},p),C(f)&&e.createElement("span",{className:"vkuiButton__content","data-testid":void 0},f),C(v)&&e.createElement("span",{className:"vkuiButton__after",role:"presentation","data-testid":void 0},v)))},Vn={"Button--size-s":"vkuiButton--size-s","Button--size-m":"vkuiButton--size-m","Button--size-l":"vkuiButton--size-l","Button--mode-primary":"vkuiButton--mode-primary","Button--mode-secondary":"vkuiButton--mode-secondary","Button--mode-tertiary":"vkuiButton--mode-tertiary","Button--mode-outline":"vkuiButton--mode-outline","Button--mode-link":"vkuiButton--mode-link","Button--appearance-overlay":"vkuiButton--appearance-overlay","Button--appearance-negative":"vkuiButton--appearance-negative","Button--appearance-positive":"vkuiButton--appearance-positive","Button--appearance-accent":"vkuiButton--appearance-accent","Button--appearance-neutral":"vkuiButton--appearance-neutral","Button--appearance-accent-invariable":"vkuiButton--appearance-accent-invariable","Button--align-left":"vkuiButton--align-left","Button--align-center":"vkuiButton--align-center","Button--align-right":"vkuiButton--align-right"},Fn=["className","children","weight","level","Component","getRootRef"],Un=(ze("Headline"),function(t){var n=t.className,r=t.children,a=t.weight,o=void 0===a?"3":a,i=t.level,l=void 0===i?"1":i,u=t.Component,c=void 0===u?"h4":u,s=t.getRootRef,d=B(t,Fn),f=ge().sizeY;return e.createElement(c,I({},d,{ref:s,className:g(n,"vkuiHeadline",nt("vkuiHeadline",f),Kn["Headline--level-".concat(l)],Kn["Headline--weight-".concat(o)])}),r)}),Kn={"Headline--level-1":"vkuiHeadline--level-1","Headline--level-2":"vkuiHeadline--level-2","Headline--weight-1":"vkuiHeadline--weight-1","Headline--weight-2":"vkuiHeadline--weight-2","Headline--weight-3":"vkuiHeadline--weight-3"},Gn=["className","children","weight","caps","Component"],Xn=function(t){var n=t.className,r=t.children,a=t.weight,o=t.caps,i=t.Component,l=void 0===i?"span":i,u=B(t,Gn);return e.createElement(l,I({},u,{className:g(n,"vkuiFootnote",o&&"vkuiFootnote--caps",a&&Yn["Footnote--weight-".concat(a)])}),r)},Yn={"Footnote--weight-1":"vkuiFootnote--weight-1","Footnote--weight-2":"vkuiFootnote--weight-2","Footnote--weight-3":"vkuiFootnote--weight-3"},qn=["className","children","weight","level","Component"],Qn=function(t){var n=t.className,r=t.children,a=t.weight,o=t.level,i=void 0===o?"1":o,l=t.Component,u=B(t,qn);return l||(l="h"+i),e.createElement(l,I({},u,{className:g(n,"vkuiTitle",$n["Title--level-".concat(i)],a&&$n["Title--weight-".concat(a)])}),r)},$n={"Title--level-1":"vkuiTitle--level-1","Title--level-2":"vkuiTitle--level-2","Title--level-3":"vkuiTitle--level-3","Title--weight-1":"vkuiTitle--weight-1","Title--weight-2":"vkuiTitle--weight-2","Title--weight-3":"vkuiTitle--weight-3"},Zn=["className","children","weight","Component"],Jn=function(t){var n=t.className,r=t.children,a=t.weight,o=t.Component,i=void 0===o?"h5":o,l=B(t,Zn),u=ge().sizeY;return e.createElement(i,I({},l,{className:g(n,"vkuiSubhead",nt("vkuiSubhead",u),a&&er["Subhead--weight-".concat(a)])}),r)},er={"Subhead--weight-1":"vkuiSubhead--weight-1","Subhead--weight-2":"vkuiSubhead--weight-2","Subhead--weight-3":"vkuiSubhead--weight-3"},tr=["mode"],nr=["mode","children","subtitle","indicator","aside","getRootRef","multiline","className"],rr=function(t){var n=t.mode,r=B(t,tr),a=je();if(a===W.IOS)switch(n){case"primary":case"tertiary":return e.createElement(Qn,I({weight:"1",level:"3"},r));case"secondary":return e.createElement(Xn,I({weight:"2",caps:!0},r))}if(a===W.VKCOM)switch(n){case"primary":return e.createElement(Un,I({weight:"3"},r));case"secondary":case"tertiary":return e.createElement(Xn,r)}switch(n){case"primary":case"tertiary":return e.createElement(Un,I({weight:"2"},r));case"secondary":return e.createElement(Xn,I({weight:"1",caps:!0},r))}return null},ar=function(t){var n=t.mode,r=void 0===n?"primary":n,a=t.children,o=t.subtitle,i=t.indicator,l=t.aside,u=t.getRootRef,c=t.multiline,s=t.className,d=B(t,nr),f=je(),p=f===W.VKCOM?Jn:at,v="secondary"===r?Jn:Xn;return e.createElement("header",I({},d,{ref:u,className:g("vkuiHeader",f===W.VKCOM&&"vkuiHeader--vkcom",f===W.ANDROID&&"vkuiHeader--android",f===W.IOS&&"vkuiHeader--ios",or["Header--mode-".concat(r)],x(i)&&"vkuiHeader--pi",s)}),e.createElement("div",{className:"vkuiHeader__main"},e.createElement(rr,{className:"vkuiHeader__content",Component:"span",mode:r},e.createElement("span",{className:g("vkuiHeader__content-in",c&&"vkuiHeader__content-in--multiline")},a),C(i)&&e.createElement(Xn,{className:"vkuiHeader__indicator",weight:"primary"===r||"secondary"===r?"1":void 0},i)),C(o)&&e.createElement(v,{className:"vkuiHeader__subtitle",Component:"span"},o)),C(l)&&e.createElement(p,{className:"vkuiHeader__aside",Component:"span"},l))},or={"Header--mode-primary":"vkuiHeader--mode-primary","Header--mode-secondary":"vkuiHeader--mode-secondary","Header--mode-tertiary":"vkuiHeader--mode-tertiary"},ir=["header","description","children","separator","getRootRef","mode","padding","className","tabIndex"],lr=(ze("TabsItem"),function(t){var n=t.header,r=t.description,a=t.children,o=t.separator,i=void 0===o?"auto":o,l=t.getRootRef,u=t.mode,c=t.padding,s=void 0===c?"m":c,d=t.className,f=t.tabIndex,p=B(t,ir),v=e.useContext(it).isInsideModal,m=je(),h=ge().sizeX,y=u;u||(y=v?"plain":"none");var b="tabpanel"===p.role&&void 0===f?0:f,w=g("vkuiGroup__separator","show"===i&&"vkuiGroup__separator--force");return e.createElement("section",I({},p,{tabIndex:b,ref:l,className:g("vkuiGroup",m===W.IOS&&"vkuiGroup--ios",ve("vkuiGroup",h),y&&ur["Group--mode-".concat(y)],ur["Group--padding-".concat(s)],d)}),e.createElement("div",{className:"vkuiGroup__inner"},n,a,C(r)&&e.createElement(Xn,{className:"vkuiGroup__description"},r)),"hide"!==i&&e.createElement(e.Fragment,null,e.createElement(bt,{className:g(w,"vkuiGroup__separator--spacing"),size:16}),e.createElement(tt,{className:g(w,"vkuiGroup__separator--separator")})))}),ur={"Group--mode-plain":"vkuiGroup--mode-plain","Group--mode-none":"vkuiGroup--mode-none","Group--mode-card":"vkuiGroup--mode-card","Group--padding-s":"vkuiGroup--padding-s","Group--padding-m":"vkuiGroup--padding-m"},cr=nn("Icon24Chevron","chevron_24","0 0 16 24",'<symbol viewBox="0 0 16 24" xmlns="http://www.w3.org/2000/svg" id="chevron_24"><g fill="none" fill-rule="evenodd"><path d="M0 0h16v24H0z" /><path d="M4.706 7.706a1 1 0 0 1 0-1.412l.088-.088a.997.997 0 0 1 1.414.002l5.084 5.084a.998.998 0 0 1 0 1.416l-5.084 5.084a1.002 1.002 0 0 1-1.414.002l-.088-.088a.995.995 0 0 1 0-1.412L9 12 4.706 7.706Z" fill="currentColor" /></g></symbol>',16,24,!1,void 0),sr=["badgeBeforeTitle","badgeAfterTitle","badgeBeforeSubtitle","badgeAfterSubtitle","before","indicator","children","after","expandable","multiline","subhead","subtitle","extraSubtitle","className"],dr=function(t){var n=t.badgeBeforeTitle,r=t.badgeAfterTitle,a=t.badgeBeforeSubtitle,o=t.badgeAfterSubtitle,i=t.before,l=t.indicator,u=t.children,c=t.after,s=t.expandable,d=t.multiline,f=t.subhead,p=t.subtitle,v=t.extraSubtitle,m=t.className,h=B(t,sr),y=je(),b=C(c)||s&&y===W.IOS,w=ge().sizeY;return e.createElement(jn,I({},h,{className:g("vkuiSimpleCell",qe("vkuiSimpleCell",y),nt("vkuiSimpleCell",w),s&&"vkuiSimpleCell--exp",d&&"vkuiSimpleCell--mult",m)}),i,e.createElement("div",{className:"vkuiSimpleCell__main"},f&&e.createElement(Jn,{Component:"span",className:g("vkuiSimpleCell__text","vkuiSimpleCell__subhead")},f),e.createElement("div",{className:"vkuiSimpleCell__content"},n&&e.createElement("span",{className:"vkuiSimpleCell__badge"},n),e.createElement(Un,{Component:"span",className:"vkuiSimpleCell__children",weight:"3"},u),C(r)&&e.createElement("span",{className:"vkuiSimpleCell__badge"},r)),p&&e.createElement("div",{className:"vkuiSimpleCell__content"},a&&e.createElement("span",{className:"vkuiSimpleCell__badge"},a),e.createElement("span",{className:g("vkuiSimpleCell__typography","vkuiSimpleCell__text","vkuiSimpleCell__subtitle")},p),o&&e.createElement("span",{className:"vkuiSimpleCell__badge"},o)),v&&e.createElement("span",{className:g("vkuiSimpleCell__typography","vkuiSimpleCell__text","vkuiSimpleCell__extraSubtitle")},v)),C(l)&&e.createElement(Un,{Component:"span",weight:"3",className:"vkuiSimpleCell__indicator"},l),b&&e.createElement("div",{className:"vkuiSimpleCell__after"},c,s&&y===W.IOS&&e.createElement(cr,null)))},fr=["children","Component","className"],pr=function(t){var n=t.children,r=t.Component,a=void 0===r?"button":r,o=t.className,i=B(t,fr),l=je(),u=ge().sizeY;return e.createElement(jn,I({activeEffectDelay:200,activeMode:"background"},i,{Component:i.href?"a":a,className:g("vkuiIconButton",nt("vkuiIconButton",u),l===W.IOS&&"vkuiIconButton--ios",o)}),n)},vr=["getRootRef","children","onRemove","removePlaceholder","align","className"],mr=function(t){var n=t.onRemove,r=t.removePlaceholder,a=t.removePlaceholderString,o=t.children,i=ee().window,l=e.useRef(null),u=e.useRef(!0),s=c(e.useState(0),2),d=s[0],f=s[1];Qe(i,"click",(function(){d>0&&f(0)}),{capture:!0});return e.createElement("div",{className:"vkuiRemovable__content",style:{transform:"translateX(-".concat(null!==d&&void 0!==d?d:0,"px)")},onTransitionEnd:function(){var e;d>0?null===l||void 0===l||null===(e=l.current)||void 0===e||e.focus():u.current=!0}},e.createElement(pr,{hasActive:!1,hasHover:!1,"aria-label":a,className:g("vkuiRemovable__action","vkuiRemovable__toggle"),onClick:function(e){if(e.stopPropagation(),l.current){var t=l.current.offsetWidth;u.current=!1,f(t)}},disabled:d>0},e.createElement("i",{className:"vkuiRemovable__toggle-in",role:"presentation"})),o,e.createElement("span",{className:"vkuiRemovable__offset","aria-hidden":!0}),e.createElement(jn,{Component:"button",hasActive:!1,hasHover:!1,disabled:u.current,getRootRef:l,className:"vkuiRemovable__remove",onClick:n},e.createElement("span",{className:"vkuiRemovable__remove-in"},r)))},hr=function(t){var n=t.getRootRef,r=t.children,a=t.onRemove,o=void 0===a?y:a,i=t.removePlaceholder,l=void 0===i?"\u0423\u0434\u0430\u043b\u0438\u0442\u044c":i,u=t.align,c=void 0===u?"center":u,s=t.className,d=B(t,vr),f=je(),p=ge().sizeY,v=re(n),m=function(e){e.preventDefault(),o(e)},h=function(t){var n="";return e.Children.map(t,(function(e){"string"===typeof e&&(n+=e)})),n}(l);return e.createElement("div",I({},d,{ref:v,className:g("vkuiRemovable",f===W.IOS&&"vkuiRemovable--ios",gr["Removable--align-".concat(c)],nt("vkuiRemovable",p),s)}),f!==W.IOS&&e.createElement("div",{className:"vkuiRemovable__content"},r,e.createElement(pr,{activeMode:"opacity",hoverMode:"opacity",className:"vkuiRemovable__action",onClick:m,"aria-label":h},e.createElement(sn,{role:"presentation"})),e.createElement("span",{className:"vkuiRemovable__offset","aria-hidden":!0})),f===W.IOS&&e.createElement(mr,{onRemove:m,removePlaceholder:l,removePlaceholderString:h},r))},gr={"Removable--align-start":"vkuiRemovable--align-start","Removable--align-center":"vkuiRemovable--align-center"},yr=e.createContext({toggleDrag:y}),br=nn("Icon24ReorderIos","reorder_ios_24","0 0 24 24",'<symbol viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" id="reorder_ios_24"><g fill="none" fill-rule="evenodd"><path opacity=".1" d="M0 0h24v24H0z" /><path d="M2.75 7h18.5a.75.75 0 1 1 0 1.5H2.75a.75.75 0 0 1 0-1.5Zm0 4h18.5a.75.75 0 1 1 0 1.5H2.75a.75.75 0 1 1 0-1.5Zm0 4h18.5a.75.75 0 1 1 0 1.5H2.75a.75.75 0 1 1 0-1.5Z" fill="currentColor" fill-rule="nonzero" /></g></symbol>',24,24,!1,void 0),wr=nn("Icon24Reorder","reorder_24","0 0 24 24",'<symbol viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" id="reorder_24"><g fill="none" fill-rule="evenodd"><path d="M0 0h24v24H0z" /><path d="M21 18a1 1 0 0 1-1 1H4a1 1 0 0 1 0-2h16a1 1 0 0 1 1 1Zm0-4a1 1 0 0 1-1 1H4a1 1 0 0 1 0-2h16a1 1 0 0 1 1 1Zm0-4a1 1 0 0 1-1 1H4a1 1 0 0 1 0-2h16a1 1 0 0 1 1 1ZM3 6a1 1 0 0 1 1-1h16a1 1 0 0 1 0 2H4a1 1 0 0 1-1-1Z" fill="currentColor" fill-rule="nonzero" /></g></symbol>',24,24,!1,void 0),kr=["onDragStart","onDragMove","onDragEnd","className"],Er=function(t){var n=t.onDragStart,r=t.onDragMove,a=t.onDragEnd,o=t.className,i=B(t,kr),l=je(),u=e.useCallback((function(e){e.preventDefault()}),[]);return e.createElement(ue,I({className:g("vkuiCellDragger",qe("vkuiCellDragger",l),o),onStart:n,onMoveY:r,onEnd:a,onClick:u},i),l===W.IOS?e.createElement(br,null):e.createElement(wr,null))},Sr=nn("Icon24CheckCircleOff","check_circle_off_24","0 0 24 24",'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="check_circle_off_24"><path d="M12 0c6.629 0 12 5.373 12 12 0 6.629-5.373 12-12 12-6.629 0-12-5.373-12-12C0 5.371 5.373 0 12 0Zm0 1.5C6.2 1.5 1.5 6.2 1.5 12S6.2 22.5 12 22.5 22.5 17.8 22.5 12 17.8 1.5 12 1.5Z" fill="currentColor" /></symbol>',24,24,!1,void 0),_r=nn("Icon24CheckBoxOff","check_box_off_24","0 0 24 24",'<symbol fill="none" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" id="check_box_off_24"><path d="M16.872 2c1.783 0 2.43.186 3.082.534.651.349 1.163.86 1.512 1.512S22 5.345 22 7.128v9.744c0 1.783-.186 2.43-.534 3.082a3.635 3.635 0 0 1-1.512 1.512c-.652.348-1.299.534-3.082.534H7.128c-1.783 0-2.43-.186-3.082-.534s-1.163-.86-1.512-1.512C2.186 19.302 2 18.655 2 16.872V7.128c0-1.783.186-2.43.534-3.082a3.635 3.635 0 0 1 1.512-1.512C4.698 2.186 5.345 2 7.128 2zm.564 2H6.564c-.892 0-1.215.093-1.54.267-.327.174-.583.43-.757.756-.174.326-.267.65-.267 1.54v10.873c0 .892.093 1.215.267 1.54.174.327.43.583.756.757.326.174.65.267 1.54.267h10.873c.892 0 1.215-.093 1.54-.267.327-.174.583-.43.757-.756.174-.326.267-.65.267-1.54V6.563c0-.892-.093-1.215-.267-1.54a1.817 1.817 0 0 0-.756-.757c-.326-.174-.65-.267-1.54-.267z" fill="currentColor" /></symbol>',24,24,!1,void 0),Cr=nn("Icon24CheckCircleOn","check_circle_on_24","0 0 24 24",'<symbol viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" id="check_circle_on_24"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 24c6.627 0 12-5.373 12-12S18.627 0 12 0 0 5.373 0 12s5.373 12 12 12Zm6.207-14.793a1 1 0 0 0-1.414-1.414L10 14.586l-2.793-2.793a1 1 0 0 0-1.414 1.414l3.5 3.5a1 1 0 0 0 1.414 0l7.5-7.5Z" fill="currentColor" /></symbol>',24,24,!1,void 0),xr=nn("Icon24CheckBoxOn","check_box_on_24","0 0 24 24",'<symbol fill="none" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" id="check_box_on_24"><path clip-rule="evenodd" d="M2.436 4.184C2 5.04 2 6.16 2 8.4v7.2c0 2.24 0 3.36.436 4.216a4 4 0 0 0 1.748 1.748C5.04 22 6.16 22 8.4 22h7.2c2.24 0 3.36 0 4.216-.436a4 4 0 0 0 1.748-1.748C22 18.96 22 17.84 22 15.6V8.4c0-2.24 0-3.36-.436-4.216a4 4 0 0 0-1.748-1.748C18.96 2 17.84 2 15.6 2H8.4c-2.24 0-3.36 0-4.216.436a4 4 0 0 0-1.748 1.748zm15.771 5.023a1 1 0 0 0-1.414-1.414L10 14.586l-2.793-2.793a1 1 0 0 0-1.414 1.414l3.5 3.5a1 1 0 0 0 1.414 0z" fill="currentColor" fill-rule="evenodd" /></symbol>',24,24,!1,void 0),Nr=["className","style"],Or=function(t){var n=t.className,r=t.style,a=B(t,Nr),o=je(),i=o===W.IOS||o===W.VKCOM?Sr:_r,l=o===W.IOS||o===W.VKCOM?Cr:xr;return e.createElement("div",{className:g("vkuiCellCheckbox",qe("vkuiCellCheckbox",o),n),style:r},e.createElement("input",I({className:"vkuiCellCheckbox__input",type:"checkbox"},a)),e.createElement("span",{className:g("vkuiCellCheckbox__icon","vkuiCellCheckbox__icon--off")},e.createElement(i,null)),e.createElement("span",{className:g("vkuiCellCheckbox__icon","vkuiCellCheckbox__icon--on")},e.createElement(l,null)))},Pr=["mode","onRemove","removePlaceholder","onDragFinish","before","after","disabled","draggable","Component","onChange","name","value","checked","defaultChecked","getRootRef","draggerLabel","className","style"],Tr=["dragging"],Lr=function(t){var n,r,a=t.mode,o=t.onRemove,i=void 0===o?y:o,l=t.removePlaceholder,u=void 0===l?"\u0423\u0434\u0430\u043b\u0438\u0442\u044c":l,s=t.onDragFinish,d=t.before,f=t.after,p=t.disabled,v=t.draggable,m=t.Component,h=t.onChange,b=t.name,w=t.value,k=t.checked,E=t.defaultChecked,S=t.getRootRef,_=t.draggerLabel,C=void 0===_?"\u041f\u0435\u0440\u0435\u043d\u0435\u0441\u0442\u0438 \u044f\u0447\u0435\u0439\u043a\u0443":_,x=t.className,N=t.style,O=B(t,Pr),P="selectable"===a,T="removable"===a,L=je(),M=re(S),A=function(t){var n=t.rootElRef,r=t.onDragFinish,a=c(e.useState(!1),2),o=a[0],i=a[1],l=c(e.useState([]),2),u=l[0],s=l[1],d=c(e.useState(0),2),f=d[0],p=d[1],v=c(e.useState(0),2),m=v[0],h=v[1],g=c(e.useState(0),2),y=g[0],b=g[1],w=c(e.useState(void 0),2),k=w[0],E=w[1];return{onDragStart:function(){var e,t=n.current;if(t){i(!0);var r=[];null!==(e=t.parentElement)&&void 0!==e&&e.childNodes&&(r=Array.from(t.parentElement.children));var a=r.indexOf(t);p(a),h(a),s(r),b(0)}},onDragMove:function(e){e.originalEvent.preventDefault();var t=n.current;if(t){t.style.transform="translateY(".concat(e.shiftY,"px)");var r=t.getBoundingClientRect();E(y-e.shiftY<0?"down":"up"),b(e.shiftY),h(f),u.forEach((function(e,t){var n=e.getBoundingClientRect(),a=n.height/2,o=r.bottom>n.top+a,i=r.top<n.bottom-a;f<t?(o&&("down"===k&&(e.style.transform="translateY(-100%)"),h((function(e){return e+1}))),i&&"up"===k&&(e.style.transform="translateY(0)")):f>t&&(i&&("up"===k&&(e.style.transform="translateY(100%)"),h((function(e){return e-1}))),o&&"down"===k&&(e.style.transform="translateY(0)"))}))}},onDragEnd:function(){var e=f,t=m;u.forEach((function(e){e.style.transform=""})),s([]),h(0),p(0),E(void 0),b(0),i(!1),r&&r({from:e,to:t})},dragging:o}}({rootElRef:M,onDragFinish:s}),R=A.dragging,z=B(A,Tr),j=e.useContext(yr).toggleDrag;if(e.useEffect((function(){if(R)return j(!0),function(){return j(!1)}}),[R,j]),v&&(n=e.createElement(Er,I({className:"vkuiCell__dragger","aria-label":C},z))),P){var D={name:b,value:w,onChange:h,defaultChecked:E,checked:k,disabled:p};r=e.createElement(Or,I({className:"vkuiCell__checkbox"},D))}var H=v&&!P||T||p,V=!H&&!R,F=g("vkuiCell",L===W.IOS&&"vkuiCell--ios",R&&"vkuiCell--dragging",T&&"vkuiCell--removable",P&&"vkuiCell--selectable",p&&"vkuiCell--disabled"),U=e.createElement(dr,I({hasActive:V,hasHover:V},O,{className:"vkuiCell__content",disabled:H,Component:P?"label":m,before:e.createElement(e.Fragment,null,v&&L!==W.IOS&&n,P&&r,d),after:e.createElement(e.Fragment,null,v&&L===W.IOS&&n,f)}));return T?e.createElement(hr,{className:g(F,x),style:N,getRootRef:M,removePlaceholder:u,onRemove:function(e){return i(e,M.current)}},U):e.createElement("div",{className:g(F,x),style:N,ref:M},U)},Mr=["background","children","className"],Ar={stroke:"vkuiImageBaseBadge--background-stroke",shadow:"vkuiImageBaseBadge--background-shadow"},Rr=["className","theme","visibility","children","onClick"],Ir=e.createContext({size:0}),Br=["alt","crossOrigin","decoding","loading","referrerPolicy","sizes","src","srcSet","useMap","getRef","size","width","height","style","className","getRootRef","withBorder","fallbackIcon","children","aria-label","onClick","onLoad","onError"],zr=function(t){var n=t.alt,r=t.crossOrigin,a=t.decoding,o=t.loading,i=t.referrerPolicy,l=t.sizes,u=t.src,s=t.srcSet,d=t.useMap,f=t.getRef,p=t.size,v=void 0===p?24:p,m=t.width,h=t.height,y=t.style,b=t.className,w=t.getRootRef,k=t.withBorder,E=void 0===k||k,S=t.fallbackIcon,_=t.children,C=t["aria-label"],x=t.onClick,N=t.onLoad,O=t.onError,P=B(t,Br),T=c(e.useState(!1),2),L=T[0],M=T[1],A=c(e.useState(!1),2),R=A[0],z=A[1],j=u||s,D=(R||!j)&&e.isValidElement(S)?S:null;return e.createElement(Ir.Provider,{value:{size:v}},e.createElement("div",I({},P,{ref:w,style:Y(Y({},y),{},{width:v,height:v}),className:g(b,"vkuiImageBase",jr["ImageBase--size-".concat(v)],E&&"vkuiImageBase--withBorder",L&&"vkuiImageBase--loaded"),role:j?"img":"presentation","aria-label":C,onClick:x}),j&&e.createElement("img",{ref:f,alt:n,className:"vkuiImageBase__img",crossOrigin:r,decoding:a,loading:o,referrerPolicy:i,sizes:l,src:u,srcSet:s,useMap:d,width:m,height:h,onLoad:function(e){M(!0),z(!1),null===N||void 0===N||N(e)},onError:function(e){M(!1),z(!0),null===O||void 0===O||O(e)}}),D&&e.createElement("div",{className:g("vkuiImageBase__fallback")},D),_))};zr.Badge=function(t){var n=t.background,r=void 0===n?"shadow":n,a=t.children,o=t.className,i=B(t,Mr);return e.createElement("div",I({},i,{className:g("vkuiImageBaseBadge",Ar[r],o)}),a)},zr.Overlay=function(t){var n=t.className,r=t.theme,a=t.visibility,o=t.children,i=t.onClick,l=B(t,Rr),u=Pt(),c=Nn(),s=null!==r&&void 0!==r?r:u,d=null!==a&&void 0!==a?a:c?"on-hover":"always";return e.createElement(jn,I({},l,{type:"button",Component:"button",className:g("vkuiImageBaseOverlay","always"===d&&"vkuiImageBaseOverlay--visible","light"===s&&"vkuiImageBaseOverlay--theme-light","dark"===s&&"vkuiImageBaseOverlay--theme-dark",n),hasHover:"on-hover"===d,hoverMode:"on-hover"===d?"vkuiImageBaseOverlay--visible":void 0,focusVisibleMode:"vkuiImageBaseOverlay--focus-visible",hasActive:!1,onClick:i}),o)};var jr={"ImageBase--size-16":"vkuiImageBase--size-16","ImageBase--size-20":"vkuiImageBase--size-20","ImageBase--size-24":"vkuiImageBase--size-24","ImageBase--size-28":"vkuiImageBase--size-28","ImageBase--size-32":"vkuiImageBase--size-32","ImageBase--size-36":"vkuiImageBase--size-36","ImageBase--size-40":"vkuiImageBase--size-40","ImageBase--size-44":"vkuiImageBase--size-44","ImageBase--size-48":"vkuiImageBase--size-48","ImageBase--size-56":"vkuiImageBase--size-56","ImageBase--size-64":"vkuiImageBase--size-64","ImageBase--size-72":"vkuiImageBase--size-72","ImageBase--size-80":"vkuiImageBase--size-80","ImageBase--size-88":"vkuiImageBase--size-88","ImageBase--size-96":"vkuiImageBase--size-96"};function Dr(e){if(e<=16)return 5;if(e<=24)return 8;if(e<=32)return 10;if(e<=36)return 13;if(e<=44)return 14;if(e<=48)return 17;if(e<56)return 18;if(e<=64)return 21;if(e<=88)return 26;if(e<=96)return 30;var t=Math.ceil(.3125*e);return t+t%2}var Hr=["className"];function Wr(e){return e<=36?12:e>36&&e<=48?16:e>48&&e<=64?20:Wr.MAX_SIZE}Wr.MAX_SIZE=24;var Vr=nn("Icon12Circle","circle_12","0 0 12 12",'<symbol fill="none" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg" id="circle_12"><path d="M10 6a4 4 0 1 1-8 0 4 4 0 0 1 8 0z" fill="currentColor" /></symbol>',12,12,!1,void 0),Fr=nn("Icon12OnlineMobile","online_mobile_12","0 0 8 12",'<symbol xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 8 12" id="online_mobile_12"><path fill="currentColor" d="M5.99 0C7.1 0 8 .9 8 2.01v7.98C8 11.1 7.1 12 5.99 12H2.01C.9 12 0 11.1 0 9.99V2.01C0 .9.9 0 2.01 0h3.98Zm.007 3H2.004a.502.502 0 0 0-.503.502v4.995c0 .278.225.503.503.503h3.995a.502.502 0 0 0 .502-.502V3.503A.502.502 0 0 0 5.997 3Z" /></symbol>',8,12,!1,void 0),Ur=["width","height"],Kr=["width","height"],Gr=function(t){var n=t.width,r=void 0===n?12:n,a=t.height,o=void 0===a?12:a,i=B(t,Ur);return e.createElement(Vr,I({},i,{width:r>=24?15:12,height:o>=24?15:12}))},Xr=function(t){var n=t.width,r=void 0===n?8:n,a=t.height,o=void 0===a?12:a,i=B(t,Kr);return e.createElement(Fr,I({},i,{width:r>=24?9:8,height:o>=24?15:12}))},Yr=["preset"],qr=["size","className","gradientColor","initials","fallbackIcon","children"],Qr={1:"red",2:"orange",3:"yellow",4:"green",5:"l-blue",6:"violet"},$r={red:"vkuiAvatar--gradient-red",orange:"vkuiAvatar--gradient-orange",yellow:"vkuiAvatar--gradient-yellow",green:"vkuiAvatar--gradient-green",blue:"vkuiAvatar--gradient-blue","l-blue":"vkuiAvatar--gradient-l-blue",violet:"vkuiAvatar--gradient-violet"},Zr=function(t){var n=t.size,r=void 0===n?48:n,a=t.className,o=t.gradientColor,i=t.initials,l=t.fallbackIcon,u=t.children,c=B(t,qr),s="number"===typeof o?Qr[o]:o,d=s&&"custom"!==s,f=i?void 0:l;return e.createElement(zr,I({},c,{size:r,fallbackIcon:f,className:g("vkuiAvatar",s&&"vkuiAvatar--has-gradient",d&&$r[s],a)}),i&&e.createElement("div",{className:"vkuiAvatar__initials",style:{fontSize:Dr(r)}},i),u)};Zr.Badge=function(t){var n=t.className,r=B(t,Hr),a=e.useContext(Ir).size;return e.createElement(zr.Badge,I({},r,{className:g("vkuiAvatarBadge",a<96&&"vkuiAvatarBadge--shifted",n)}))},Zr.BadgeWithPreset=function(t){var n=t.preset,r=void 0===n?"online":n,a=B(t,Yr),o=Wr(e.useContext(Ir).size),i="online"===r,l=i?"vkuiAvatarBadge--preset-online":"vkuiAvatarBadge--preset-onlineMobile",u=i?Gr:Xr;return e.createElement(zr.Badge,I({},a,{background:"stroke",className:g("vkuiAvatarBadge",l)}),e.createElement(u,{width:o,height:o}))},Zr.Overlay=zr.Overlay;var Jr=["children","getRootRef","className"],ea=function(t){var n=t.children,r=t.getRootRef,a=t.className,o=B(t,Jr);return e.createElement("div",I({},o,{ref:r,className:g("vkuiDiv",a)}),n)},ta=nn("Icon28ArrowLeftOutline","arrow_left_outline_28","0 0 28 28",'<symbol viewBox="0 0 28 28" xmlns="http://www.w3.org/2000/svg" id="arrow_left_outline_28"><g fill="none" fill-rule="evenodd"><path d="M28 0H0v28h28z" /><path d="M12.293 6.293a1 1 0 0 1 1.414 1.414L8.414 13H22a1 1 0 0 1 .993.883L23 14a1 1 0 0 1-1 1H8.414l5.293 5.293a1 1 0 0 1 .083 1.32l-.083.094a1 1 0 0 1-1.414 0l-7-7-.073-.082A1.005 1.005 0 0 1 5 14l.004.09A1.006 1.006 0 0 1 5 14.02V14a1.02 1.02 0 0 1 .125-.484.878.878 0 0 1 .071-.111.999.999 0 0 1 .097-.112l-.08.09c.025-.031.051-.062.08-.09Z" fill="currentColor" fill-rule="nonzero" /></g></symbol>',28,28,!1,void 0),na=nn("Icon28ChevronBack","chevron_back_28","0 0 20 28",'<symbol viewBox="0 0 20 28" xmlns="http://www.w3.org/2000/svg" id="chevron_back_28"><g fill="none" fill-rule="evenodd"><path d="M0 0h20v28H0z" /><path d="M4.56 12.94 13 4.5a1.414 1.414 0 0 1 2 2L7.5 14l7.5 7.5a1.414 1.414 0 0 1-2 2l-8.44-8.44a1.5 1.5 0 0 1 0-2.12Z" fill="currentColor" /></g></symbol>',20,28,!1,void 0),ra=nn("Icon28ChevronLeftOutline","chevron_left_outline_28","0 0 28 28",'<symbol fill="none" viewBox="0 0 28 28" xmlns="http://www.w3.org/2000/svg" id="chevron_left_outline_28"><path d="m12.414 14 5.793-5.793a1 1 0 0 0-1.414-1.414l-6.5 6.5a1 1 0 0 0 0 1.414l6.5 6.5a1 1 0 0 0 1.414-1.414z" fill="currentColor" /></symbol>',28,28,!1,void 0),aa=["children","primary","label","className"],oa=function(t){var n=t.primary,r=t.children,a=je();return a===W.IOS?e.createElement(Qn,{Component:"span",level:"3",weight:n?"1":"3"},r):e.createElement(at,{weight:a===W.VKCOM?void 0:"2"},r)},ia=(ze("PanelHeaderButton"),function(t){var n,r,a=t.children,o=t.primary,i=void 0!==o&&o,l=t.label,u=t.className,c=B(t,aa),s=x(a),d=x(l),f=je();switch(f){case W.IOS:n="background",r="opacity";break;case W.VKCOM:n="vkuiPanelHeaderButton--hover",r="vkuiPanelHeaderButton--active";break;default:n="background",r="background"}return e.createElement(jn,I({},c,{hoverMode:n,Component:c.href?"a":"button",activeEffectDelay:200,activeMode:r,className:g("vkuiPanelHeaderButton",qe("vkuiPanelHeaderButton",f),s&&"vkuiPanelHeaderButton--primitive",!s&&!d&&"vkuiPanelHeaderButton--notPrimitive",u)}),s?e.createElement(oa,{primary:i},a):a,d?e.createElement(oa,{primary:i,className:"vkuiPanelHeaderButton__label"},l):l)}),la=["label","aria-label","className"],ua=function(t){var n=t.label,r=t["aria-label"],a=void 0===r?"\u041d\u0430\u0437\u0430\u0434":r,o=t.className,i=B(t,la),l=je(),u=ge().sizeX,c=l===W.VKCOM||l===W.IOS,s=e.createElement(ta,null);switch(l){case W.IOS:s=e.createElement(na,null);break;case W.VKCOM:s=e.createElement(ra,null)}return e.createElement(ia,I({},i,{className:g("vkuiPanelHeaderBack",ve("vkuiPanelHeaderBack",u),l===W.IOS&&"vkuiPanelHeaderBack--ios",l===W.VKCOM&&"vkuiPanelHeaderBack--vkcom",c&&!!n&&"vkuiPanelHeaderBack--has-label",o),label:c&&n,"aria-label":a}),s)};var ca={bottom:null,top:null,left:null,right:null};function sa(e){var t=e.detail,n=t.type,r=t.data;switch(n){case"VKWebAppUpdateConfig":case"VKWebAppUpdateInsets":var a=r.insets;if(a)return Y(Y({},a),{},{bottom:a.bottom>150?0:a.bottom})}return null}a().subscribe((function(e){var t=sa(e);t&&(ca=t)}));var da=["children","mode","scroll","portalRoot","disablePortal","className"],fa="--vkui_internal--safe_area_inset_",pa=function(t){var n=t.children,r=t.mode,o=void 0===r?"full":r,i=t.scroll,l=void 0===i?"global":i,u=t.portalRoot,s=void 0===u?null:u,d=t.disablePortal,f=t.className,p=B(t,da),v=function(){var t=ee().document,n=c(e.useState(!1),2),r=n[0],a=n[1],o=e.useCallback((function(){a(!0)}),[]),i=e.useCallback((function(e){Sn(e)===kn.TAB&&o()}),[o]),l=e.useCallback((function(){a(!1)}),[]),u={passive:!0,capture:!0};return Qe(t,"keydown",i,u),Qe(t,"mousedown",l,u),Qe(t,"touchstart",l,u),Qe(t,"enableKeyboardInput",o,u),Qe(t,"disableKeyboardInput",l,u),r}(),m=e.useRef(null),b=c(e.useState(null),2),w=b[0],k=b[1],E=ee().document,S=function(){var t=c(e.useState(ca),2),n=t[0],r=t[1];return ae((function(){function e(e){var t=sa(e);t&&r(t)}return a().subscribe(e),function(){a().unsubscribe(e)}}),[]),n}(),_=Pt(),C=ge(),x=C.hasPointer,N=C.sizeX;ae((function(){var e,t=null;return s&&(t="object"===h(e=s)&&null!==e&&e.hasOwnProperty("current")?s.current:s),t||(t=E.createElement("div"),E.body.appendChild(t)),k(t),function(){var e,n;null===(e=t)||void 0===e||null===(n=e.parentElement)||void 0===n||n.removeChild(t)}}),[s]),ae((function(){var e;if("embedded"!==o)return y;var t=null===(e=m.current)||void 0===e?void 0:e.parentElement;return null===t||void 0===t||t.classList.add("vkui__root--embedded"),function(){null===t||void 0===t||t.classList.remove("vkui__root--embedded")}}),[]),ae((function(){if("full"===o)return E.documentElement.classList.add("vkui"),function(){E.documentElement.classList.remove("vkui")}}),[E,o]),ae((function(){var e;if("partial"===o||null===(e=m.current)||void 0===e||!e.parentElement)return y;var t,n=m.current.parentElement;for(t in S)if(S.hasOwnProperty(t)&&"number"===typeof S[t]){var r=S[t];n.style.setProperty(fa+t,"".concat(r,"px")),w&&w.style.setProperty(fa+t,"".concat(r,"px"))}return function(){var e;for(e in S)S.hasOwnProperty(e)&&(n.style.removeProperty(fa+e),w&&w.style.removeProperty(fa+e))}}),[S,w]),ae((function(){var e;if("partial"===o)return y;var t=ve("vkui",N),n="embedded"===o?null===(e=m.current)||void 0===e?void 0:e.parentElement:E.body;return null===n||void 0===n||n.classList.add(t),function(){return null===n||void 0===n?void 0:n.classList.remove(t)}}),[N]),ae((function(){return"full"!==o||void 0===_?y:(E.documentElement.style.setProperty("color-scheme",_),function(){return E.documentElement.style.removeProperty("color-scheme")})}),[_]);var O=e.useMemo((function(){return"contain"===l?Ae:Me}),[l]),P=e.createElement(St.Provider,{value:{appRoot:m,portalRoot:w,embedded:"embedded"===o,keyboardInput:v,mode:o,disablePortal:d}},e.createElement(O,{elRef:m},e.createElement(Kt,{classPrefix:"vkui"},n)));return"partial"===o?P:e.createElement("div",I({ref:m,className:g("vkuiAppRoot",void 0===x?"vkuiAppRoot--pointer-none":!x&&"vkuiAppRoot--pointer-has-not",f)},p),P)},va={type:"",viewportWidth:0,viewportHeight:0};function ma(e){var t=e.detail,n=t.type,r=t.data;if("VKWebAppUpdateConfig"!==n||!r)return null;var a=r.adaptivity,o=r.viewport_width,i=r.viewport_height,l={type:"",viewportWidth:isFinite(o)?+o:0,viewportHeight:isFinite(i)?+i:0};switch(a){case"force_mobile":case"force_mobile_compact":case"adaptive":l.type=a}return l}a().subscribe((function(e){var t=ma(e);t&&(va=t)}));var ha,ga,ya=function(t){var n=t.viewWidth,r=t.viewHeight,o=t.sizeX,i=t.sizeY,l=t.hasPointer,u=t.hasHover,s=t.children,d=function(){var t=c(e.useState(va),2),n=t[0],r=t[1];return ae((function(){function e(e){var t=ma(e);t&&r(t)}return a().subscribe(e),function(){a().unsubscribe(e)}}),[]),n}(),f=c(e.useState({viewWidth:n,viewHeight:r,sizeX:o,sizeY:i,hasPointer:l,hasHover:u}),2),p=f[0],v=f[1];return e.useEffect((function(){v(function(e,t){var n=e.viewWidth,r=e.viewHeight,a=e.sizeX,o=e.sizeY,i=e.hasPointer,l=e.hasHover;if("adaptive"===t.type){var u=t.viewportWidth,c=t.viewportHeight;n=u>=be.BREAKPOINTS.DESKTOP?ce.DESKTOP:u>=be.BREAKPOINTS.TABLET?ce.TABLET:u>=be.BREAKPOINTS.SMALL_TABLET?ce.SMALL_TABLET:u>=be.BREAKPOINTS.MOBILE?ce.MOBILE:ce.SMALL_MOBILE,r=c>=be.BREAKPOINTS.MEDIUM_HEIGHT?se.MEDIUM:c>be.BREAKPOINTS.MOBILE_LANDSCAPE_HEIGHT?se.SMALL:se.EXTRA_SMALL,a=n<=ce.MOBILE?de.COMPACT:de.REGULAR,o=n>=ce.SMALL_TABLET&&O||r<=se.EXTRA_SMALL?de.COMPACT:de.REGULAR}else"force_mobile"===t.type||"force_mobile_compact"===t.type?(n=ce.MOBILE,a=de.COMPACT,o="force_mobile_compact"===t.type?de.COMPACT:de.REGULAR):(void 0===a&&void 0!==n&&(a=n<=ce.MOBILE?de.COMPACT:de.REGULAR),void 0===o&&void 0!==n&&void 0!==r&&(o=n>=ce.SMALL_TABLET&&O||r<=se.EXTRA_SMALL?de.COMPACT:de.REGULAR));return{viewWidth:n,viewHeight:r,sizeX:a,sizeY:o,hasPointer:i,hasHover:l}}({viewWidth:n,viewHeight:r,sizeX:o,sizeY:i,hasPointer:l,hasHover:u},d))}),[n,r,o,i,l,u,d]),e.createElement(he.Provider,{value:p},s)};!function(e){e.BRIGHT_LIGHT="bright_light",e.SPACE_GRAY="space_gray",e.VKCOM_LIGHT="vkcom_light",e.VKCOM_DARK="vkcom_dark"}(ha||(ha={})),function(e){e.DARK="dark",e.LIGHT="light"}(ga||(ga={}));function ba(e){var t=e.scheme,n=e.appearance;return n||function(e){return e===ha.SPACE_GRAY||e===ha.VKCOM_DARK?"dark":"light"}(t)}var wa=null;a().send("VKWebAppGetConfig").then((function(e){wa=ba(e)})).catch(console.error);var ka,Ea=function(t,n){var r=ee().window,o=e.useRef((function(){n&&n(),o.current=y})),i=c(e.useState((function(){if(t)return t;if(wa)return o.current(),wa;var e=r&&r.matchMedia&&r.matchMedia("(prefers-color-scheme: dark)");return null!==e&&void 0!==e&&e.matches?"dark":"light"})),2),l=i[0],u=i[1];return e.useEffect((function(){return t?(u(t),y):a().isEmbedded()?function(e,t){function n(n){var r=n.detail,a=r.type,o=r.data;"VKWebAppUpdateConfig"===a&&(wa=ba(o))&&(t(),e(wa))}return a().subscribe(n),function(){return a().unsubscribe(n)}}(u,o.current):function(e,t){var n=e&&e.matchMedia&&e.matchMedia("(prefers-color-scheme: dark)");if(void 0===n)return y;var r=function(e){t(e.matches?"dark":"light")};return r(n),Ee(n,r),function(){return Se(n,r)}}(r,u)}),[r,t]),l},Sa=function(t){var n=Y(Y({},pe()),t),r=n.children,a=n.webviewType,o=n.isWebView,i=n.transitionMotionEnabled,l=n.platform,u=n.locale,c=n.appearance,s=n.onDetectAppearanceByBridge,d=Ea(c,void 0===s?y:s),f=ee().document;ae((function(){var e=_t(l,d);return f.body.classList.add(e),function(){f.body.classList.remove(e)}}),[l,d]);var p=ye({webviewType:a,isWebView:o,transitionMotionEnabled:i,platform:l,locale:u,appearance:d});return e.createElement(fe.Provider,{value:p},e.createElement(Ct,{platform:l,appearance:d},r))},_a=n(694),Ca=n.n(_a),xa=n.p+"static/media/\u041e\u0431\u043b\u043e\u0436\u043a\u0430.5f97ab16f3f463ecbe7a.png";!function(e){e.Tower="\u0411\u0430\u0448\u043d\u044f",e.Priestess="\u0412\u0435\u0440\u0445\u043e\u0432\u043d\u0430\u044f \u0436\u0440\u0438\u0446\u0430",e.Lovers="\u0412\u043b\u044e\u0431\u043b\u0435\u043d\u043d\u044b\u0435",e.Devil="\u0414\u044c\u044f\u0432\u043e\u043b",e.Star="\u0417\u0432\u0435\u0437\u0434\u0430",e.Hierofant="\u0418\u0435\u0440\u043e\u0444\u0430\u043d\u0442",e.Imperor="\u0418\u043c\u043f\u0435\u0440\u0430\u0442\u043e\u0440",e.Impress="\u0418\u043c\u043f\u0435\u0440\u0430\u0442\u0440\u0438\u0446\u0430",e.Chariot="\u041a\u043e\u043b\u0435\u0441\u043d\u0438\u0446\u0430",e.Fortune="\u041a\u043e\u043b\u0435\u0441\u043e \u0444\u043e\u0440\u0442\u0443\u043d\u044b",e.Moon="\u041b\u0443\u043d\u0430",e.Mage="\u041c\u0430\u0433",e.World="\u041c\u0438\u0440",e.Hermit="\u041e\u0442\u0448\u0435\u043b\u044c\u043d\u0438\u043a",e.Hanged="\u041f\u043e\u0432\u0435\u0448\u0435\u043d\u043d\u044b\u0439",e.Strength="\u0421\u0438\u043b\u0430",e.Death="\u0421\u043c\u0435\u0440\u0442\u044c",e.Sun="\u0421\u043e\u043b\u043d\u0446\u0435",e.Justice="\u0421\u043f\u0440\u0430\u0432\u0435\u0434\u043b\u0438\u0432\u043e\u0441\u0442\u044c",e.Judgment="\u0421\u0443\u0434",e.Temperance="\u0423\u043c\u0435\u0440\u0435\u043d\u043d\u043e\u0441\u0442\u044c",e.Jester="\u0428\u0443\u0442"}(ka||(ka={}));var Na,Oa=n.p+"static/media/\u0411\u0430\u0448\u043d\u044f.16322e5959748d93f8be.png",Pa=n.p+"static/media/\u0412\u0435\u0440\u0445\u043e\u0432\u043d\u0430\u044f \u0436\u0440\u0438\u0446\u0430.0f5b053cc75956c7a076.png",Ta=n.p+"static/media/\u0412\u043b\u044e\u0431\u043b\u0435\u043d\u043d\u044b\u0435.5b485870bc7ac12fe133.png",La=n.p+"static/media/\u0414\u044c\u044f\u0432\u043e\u043b.8327796de1fae8e43d5c.png",Ma=n.p+"static/media/\u0417\u0432\u0435\u0437\u0434\u0430.cd87a8d853cda56ee74e.png",Aa=n.p+"static/media/\u0418\u0435\u0440\u043e\u0444\u0430\u043d\u0442.b9f225fb7216634c5610.png",Ra=n.p+"static/media/\u0418\u043c\u043f\u0435\u0440\u0430\u0442\u043e\u0440.566561535d24ee7698da.png",Ia=n.p+"static/media/\u0418\u043c\u043f\u0435\u0440\u0430\u0442\u0440\u0438\u0446\u0430.25fedebd95ed5bc65186.png",Ba=n.p+"static/media/\u041a\u043e\u043b\u0435\u0441\u043d\u0438\u0446\u0430.597b4eb165fa65071015.png",za=n.p+"static/media/\u041a\u043e\u043b\u0435\u0441\u043e \u0444\u043e\u0440\u0442\u0443\u043d\u044b.27cc676dd31b0536512d.png",ja=n.p+"static/media/\u041b\u0443\u043d\u0430.802cd28509c243b68860.png",Da=n.p+"static/media/\u041c\u0430\u0433.959ce1d51a476e571691.png",Ha=n.p+"static/media/\u041c\u0438\u0440.64ebe36541d282517622.png",Wa=n.p+"static/media/\u041e\u0442\u0448\u0435\u043b\u044c\u043d\u0438\u043a.3095063b1100124bbb65.png",Va=n.p+"static/media/\u041f\u043e\u0432\u0435\u0448\u0435\u043d\u043d\u044b\u0439.55353f3eac8c9e8dfd2f.png",Fa=n.p+"static/media/\u0421\u0438\u043b\u0430.f0a95b79b50a708d9009.png",Ua=n.p+"static/media/\u0421\u043c\u0435\u0440\u0442\u044c.cb26d2e5bed8f3b67f99.png",Ka=n.p+"static/media/\u0421\u043e\u043b\u043d\u0446\u0435.24c23f46e70e8e008933.png",Ga=n.p+"static/media/\u0421\u043f\u0440\u0430\u0432\u0435\u0434\u043b\u0438\u0432\u043e\u0441\u0442\u044c.2e9a82befeece6deb94c.png",Xa=n.p+"static/media/\u0421\u0443\u0434.15a03d516e9d2e934dbb.png",Ya=n.p+"static/media/\u0423\u043c\u0435\u0440\u0435\u043d\u043d\u043e\u0441\u0442\u044c.b2255024858c102f6c6c.png",qa=n.p+"static/media/\u0428\u0443\u0442.a941d6659e7567508c57.png",Qa=n(184),$a=(k(Na={},ka.Tower,Oa),k(Na,ka.Priestess,Pa),k(Na,ka.Lovers,Ta),k(Na,ka.Devil,La),k(Na,ka.Star,Ma),k(Na,ka.Hierofant,Aa),k(Na,ka.Imperor,Ra),k(Na,ka.Impress,Ia),k(Na,ka.Chariot,Ba),k(Na,ka.Fortune,za),k(Na,ka.Moon,ja),k(Na,ka.Mage,Da),k(Na,ka.World,Ha),k(Na,ka.Hermit,Wa),k(Na,ka.Hanged,Va),k(Na,ka.Strength,Fa),k(Na,ka.Death,Ua),k(Na,ka.Sun,Ka),k(Na,ka.Justice,Ga),k(Na,ka.Judgment,Xa),k(Na,ka.Temperance,Ya),k(Na,ka.Jester,qa),Na),Za=function(t){var n=t.cardType,r=t.onOpen,a=t.isInitiallyOpened,o=void 0!==a&&a,i=c((0,e.useState)(o),2),l=i[0],u=i[1],s=(0,e.useCallback)((function(){u((function(e){if(e)return e;var t=!e;return t&&(null===r||void 0===r||r()),t}))}),[]);return(0,Qa.jsx)(ea,{className:"Container ".concat(l?"opened":""),children:(0,Qa.jsxs)(ea,{className:"SecondContainer",children:[(0,Qa.jsx)(ea,{className:"Front",children:(0,Qa.jsx)("img",{src:xa,className:"Card",onClick:s})}),(0,Qa.jsx)(ea,{className:"Back",children:(0,Qa.jsx)("img",{src:$a[n],className:"Card"})})]})})},Ja=function(e){var t=e.isOpened;return(0,Qa.jsx)(ea,{className:"AnimatedAnimatedLinesContainer ".concat(t&&"AnimatedAnimatedLinesContainer-Opened"),children:(0,Qa.jsx)(ea,{className:"AnimatedLinesContainer",children:new Array(24).fill(0).map((function(e,t){return(0,Qa.jsx)(ea,{className:"AnimatedLine AnimatedLineRotation-".concat(t)},t)}))})})};var eo=n.p+"static/media/rambler.d7ae3363987ed975add019ba9e5dee3a.svg";var to,no=n.p+"static/media/horoscopes.ffbacaa48326b4e70f12800cb338e337.svg",ro=e.memo((function(e){var t=e.text,n=e.onFinish,r=e.isHidden;return(0,Qa.jsx)(ea,{className:Ca()("FancyTextShowRoot",r&&"hidden"),children:r?t:t.split(" ").map((function(e,t,r){var a=r.length-1===t?{onAnimationEnd:n}:{};return(0,Qa.jsxs)("span",Y(Y({className:"FancyTextShowItem",style:{animation:"fade-in 0.8s ".concat(.1*(t+1),"s forwards cubic-bezier(0.11, 0, 0.5, 0)")}},a),{},{children:[e,"\u2002"]}),"".concat(e,"-").concat(t))}))})})),ao=(k(to={},ka.Jester,"\u0412\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u0432\u043d\u0435\u0437\u0430\u043f\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c\u0441\u044f \u0432 \u0443\u0432\u043b\u0435\u043a\u0430\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u043f\u043e\u0435\u0437\u0434\u043a\u0443 \u0438 \u043f\u043e\u0434\u0434\u0430\u0442\u044c\u0441\u044f \u0434\u0443\u0445\u0443 \u0432\u0435\u0441\u0435\u043b\u044c\u044f. \u041d\u0435 \u0441\u0442\u043e\u0438\u0442 \u0432\u043e\u043b\u043d\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043e \u0437\u0430\u0431\u043e\u0442\u0430\u0445 \u0438 \u043e\u0448\u0438\u0431\u043a\u0430\u0445. \u0420\u0430\u0437\u0440\u0435\u0448\u0438\u0442\u0435 \u0441\u0435\u0431\u0435 \u043f\u043e\u0431\u044b\u0442\u044c \u0440\u0435\u0431\u0435\u043d\u043a\u043e\u043c, \u043e\u0442\u043b\u043e\u0436\u0438\u0432 \u0440\u0435\u0448\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u043d\u0430 \u0437\u0430\u0432\u0442\u0440\u0430."),k(to,ka.Mage,["\u0423 \u0432\u0430\u0441 \u043d\u0430 \u044d\u0442\u043e\u0439 \u043d\u0435\u0434\u0435\u043b\u0435 \u043e\u0442\u043a\u0440\u043e\u0435\u0442\u0441\u044f \u0445\u043e\u0440\u043e\u0448\u0430\u044f \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c \u2013 \u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u0432 \u043d\u0443\u0436\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435 \u0432 \u043d\u0443\u0436\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f. \u041f\u043e\u044d\u0442\u043e\u043c\u0443, \u0432\u044b\u0431\u0438\u0440\u0430\u0439\u0442\u0435 \u0441\u043b\u043e\u0432\u0430, \u0438 \u043e\u0447\u0435\u043d\u044c \u0442\u043e\u0447\u043d\u043e \u0432\u044b\u0441\u043a\u0430\u0437\u044b\u0432\u0430\u0439\u0442\u0435 \u0441\u0432\u043e\u044e \u043c\u044b\u0441\u043b\u044c. \u0422\u0430\u043a \u0432\u044b \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u0435 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044e \u0432 \u043b\u0443\u0447\u0448\u0443\u044e \u0441\u0442\u043e\u0440\u043e\u043d\u0443 \u0438 \u0434\u043e\u0431\u044c\u0435\u0442\u0435\u0441\u044c \u0436\u0435\u043b\u0430\u0435\u043c\u043e\u0433\u043e.","\u0412\u0430\u0448\u0435 \u0442\u043e\u0447\u043d\u043e \u0441\u043a\u0430\u0437\u0430\u043d\u043d\u043e\u0435 \u0441\u043b\u043e\u0432\u043e \u0438\u043b\u0438 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 \u0432 \u043d\u0443\u0436\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0438 \u0432 \u043d\u0443\u0436\u043d\u043e\u043c \u043c\u0435\u0441\u0442\u0435 \u043c\u043e\u0433\u0443\u0442 \u0440\u0430\u0434\u0438\u043a\u0430\u043b\u044c\u043d\u043e \u0438\u0437\u043c\u0435\u043d\u0438\u0442\u044c \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044e \u0432 \u043b\u0443\u0447\u0448\u0443\u044e \u0441\u0442\u043e\u0440\u043e\u043d\u0443. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u044d\u0442\u0443 \u0441\u043f\u043e\u0441\u043e\u0431\u043d\u043e\u0441\u0442\u044c, \u0447\u0442\u043e\u0431\u044b \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u0436\u0435\u043b\u0430\u0435\u043c\u043e\u0433\u043e."]),k(to,ka.Priestess,"\u041d\u0430 \u044d\u0442\u043e\u0439 \u043d\u0435\u0434\u0435\u043b\u0435, \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u043c\u043d\u043e\u0433\u043e \u0434\u0435\u043b, \u043f\u043e\u043f\u0440\u043e\u0431\u0443\u0439\u0442\u0435 \u0432\u044b\u0434\u0435\u043b\u0438\u0442\u044c \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0440\u0430\u0437\u043c\u044b\u0448\u043b\u0435\u043d\u0438\u0439 \u0438 \u0443\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f. \u042d\u0442\u043e \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0432\u0430\u043c \u0432\u0441\u0435 \u0443\u0441\u043f\u0435\u0442\u044c \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c \u0441\u0438\u043b\u044b \u0434\u043b\u044f \u043f\u0440\u0438\u044f\u0442\u043d\u044b\u0445 \u0437\u0430\u043d\u044f\u0442\u0438\u0439."),k(to,ka.Impress,"\u041d\u0430 \u044d\u0442\u043e\u0439 \u043d\u0435\u0434\u0435\u043b\u0435 \u0432\u0430\u0448\u0430 \u044d\u043d\u0435\u0440\u0433\u0435\u0442\u0438\u043a\u0430 \u0440\u0430\u0441\u043f\u043e\u043b\u0430\u0433\u0430\u0435\u0442 \u043a \u0441\u0435\u0431\u0435 \u043e\u043a\u0440\u0443\u0436\u0430\u044e\u0449\u0438\u0445, \u0447\u0442\u043e \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0434\u043e\u0431\u0438\u0442\u044c\u0441\u044f \u0443\u0441\u043f\u0435\u0445\u0430 \u0432 \u043e\u0431\u0449\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0445 \u043c\u0435\u0440\u043e\u043f\u0440\u0438\u044f\u0442\u0438\u044f\u0445. \u041f\u043e\u044d\u0442\u043e\u043c\u0443, \u0435\u0441\u043b\u0438 \u0435\u0441\u0442\u044c \u0447\u0442\u043e-\u0442\u043e, \u0447\u0442\u043e \u0432\u044b \u0431\u044b \u0445\u043e\u0442\u0435\u043b\u0438 \u0441\u0434\u0435\u043b\u0430\u0442\u044c, \u043d\u043e \u043d\u0435 \u0440\u0435\u0448\u0430\u043b\u0438\u0441\u044c \u2013 \u0442\u043e \u0432\u043f\u0435\u0440\u0435\u0434, \u0441\u0435\u0439\u0447\u0430\u0441 \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0445\u043e\u0440\u043e\u0448\u0435\u0435 \u0432\u0440\u0435\u043c\u044f. \u0410 \u0435\u0449\u0435, \u044d\u0442\u0430 \u043a\u0430\u0440\u0442\u0430 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442, \u0447\u0442\u043e \u0435\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0432 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044f\u0445 \u0441 \u043a\u0435\u043c-\u0442\u043e \u0435\u0441\u0442\u044c \u0440\u0430\u0437\u043b\u0430\u0434, \u0442\u043e \u043d\u0443\u0436\u043d\u043e \u043f\u043e\u0439\u0442\u0438 \u0438 \u043f\u043e\u043c\u0438\u0440\u0438\u0442\u044c\u0441\u044f."),k(to,ka.Imperor,"\u0418\u0437\u043b\u0443\u0447\u0430\u0439\u0442\u0435 \u0443\u0432\u0435\u0440\u0435\u043d\u043d\u043e\u0441\u0442\u044c, \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043c\u043e\u0436\u0435\u0442\u0435 \u043e\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u0432 \u0446\u0435\u043d\u0442\u0440\u0435 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044f \u0438 \u043f\u0440\u0438\u0432\u043b\u0435\u0447\u044c \u043a \u0441\u0435\u0431\u0435 \u043d\u043e\u0432\u044b\u0445 \u043b\u044e\u0434\u0435\u0439. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0432\u0430\u043c \u043f\u0440\u0438\u0434\u0435\u0442\u0441\u044f \u0441\u0442\u043e\u043b\u043a\u043d\u0443\u0442\u044c\u0441\u044f \u0441 \u043d\u0435\u043e\u0431\u044b\u0447\u043d\u044b\u043c\u0438 \u043f\u0440\u043e\u0441\u044c\u0431\u0430\u043c\u0438 \u0438 \u043f\u0440\u0435\u0434\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c\u0438."),k(to,ka.Hierofant,"\u041d\u0430 \u044d\u0442\u043e\u0439 \u043d\u0435\u0434\u0435\u043b\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0439\u0442\u0435 \u0432 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043d\u044b\u043c \u043f\u043b\u0430\u043d\u043e\u043c \u0438 \u0446\u0435\u043d\u0438\u0442\u0435 \u0432\u0435\u0440\u043d\u044b\u0445 \u0432\u0430\u043c \u043b\u044e\u0434\u0435\u0439. \u0410 \u0435\u0449\u0435 \u0432\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u0437\u0430\u043a\u043e\u043d\u0447\u0438\u0442\u044c \u0441\u043b\u043e\u0436\u043d\u044b\u0435 \u0438 \u043d\u0443\u0434\u043d\u044b\u0435 \u0434\u0435\u043b\u0430, \u0447\u0442\u043e\u0431\u044b \u043f\u043e\u0442\u043e\u043c \u0443 \u0432\u0430\u0441 \u043f\u043e\u044f\u0432\u0438\u043b\u043e\u0441\u044c \u0432\u0440\u0435\u043c\u044f \u043d\u0430 \u0442\u0432\u043e\u0440\u0447\u0435\u0441\u0442\u0432\u043e \u0438 \u0441\u0430\u043c\u043e\u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u0435."),k(to,ka.Lovers,"\u041d\u0430 \u044d\u0442\u043e\u0439 \u043d\u0435\u0434\u0435\u043b\u0435 \u043d\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0439\u0442\u0435 \u0442\u0440\u0435\u0432\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u0437\u0430\u0445\u0432\u0430\u0442\u0438\u0442\u044c \u0432\u0430\u0441, \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0439\u0442\u0435 \u0440\u0435\u0448\u0438\u0442\u0435\u043b\u044c\u043d\u043e. \u041d\u043e \u043d\u0435 \u043f\u0440\u0435\u043d\u0435\u0431\u0440\u0435\u0433\u0430\u0439\u0442\u0435 \u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c\u044e."),k(to,ka.Chariot,"\u0415\u0441\u043b\u0438 \u0432\u044b \u043f\u0440\u0438\u043b\u043e\u0436\u0438\u043b\u0438 \u043c\u043d\u043e\u0433\u043e \u0443\u0441\u0438\u043b\u0438\u0439 \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0438\u0436\u0435\u043d\u0438\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430, \u0438\u043c\u0435\u043d\u043d\u043e \u043d\u0430 \u044d\u0442\u043e\u0439 \u043d\u0435\u0434\u0435\u043b\u0435 \u0432\u044b \u0443\u0432\u0438\u0434\u0438\u0442\u0435 \u043f\u043b\u043e\u0434\u044b \u0441\u0432\u043e\u0435\u0439 \u0440\u0430\u0431\u043e\u0442\u044b. \u0414\u043e\u0432\u0435\u0440\u044c\u0442\u0435\u0441\u044c \u0438\u043d\u0442\u0443\u0438\u0446\u0438\u0438 \u0438 \u043f\u0440\u0438\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0439\u0442\u0435\u0441\u044c \u043e\u043f\u0442\u0438\u043c\u0438\u0441\u0442\u0438\u0447\u043d\u043e\u0433\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u044f."),k(to,ka.Justice,"\u041d\u0430 \u044d\u0442\u043e\u0439 \u043d\u0435\u0434\u0435\u043b\u0435 \u0432\u0430\u0448\u0435\u0439 \u0441\u0438\u043b\u044b \u0432\u043e\u043b\u0438 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e, \u0447\u0442\u043e\u0431\u044b \u0438\u0441\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u043f\u0440\u043e\u0448\u043b\u044b\u0435 \u043e\u0448\u0438\u0431\u043a\u0438 \u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0441\u043b\u043e\u0436\u043d\u0443\u044e \u0440\u0430\u0431\u043e\u0442\u0443, \u043a \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0432\u044b \u043d\u0435 \u0440\u0435\u0448\u0430\u043b\u0438\u0441\u044c \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u0442\u044c."),k(to,ka.Hermit,"\u0427\u0442\u043e\u0431\u044b \u044d\u0442\u0430 \u043d\u0435\u0434\u0435\u043b\u044f \u043f\u0440\u043e\u0448\u043b\u0430 \u0431\u043b\u0430\u0433\u043e\u043f\u0440\u0438\u044f\u0442\u043d\u043e, \u043f\u043e\u0441\u0442\u0430\u0440\u0430\u0439\u0442\u0435\u0441\u044c \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0432\u0435\u0449\u0438 \u0442\u0430\u043a\u0438\u043c\u0438, \u043a\u0430\u043a\u0438\u0435 \u043e\u043d\u0438 \u0435\u0441\u0442\u044c, \u043d\u0435 \u0434\u0430\u0432\u0430\u044f \u0438\u043c \u0441\u0443\u0436\u0434\u0435\u043d\u0438\u0439 \u0438 \u043e\u0446\u0435\u043d\u043e\u043a."),k(to,ka.Fortune,["\u0412 \u0446\u0435\u043b\u043e\u043c \u043d\u0435\u0434\u0435\u043b\u044f \u043e\u0431\u0435\u0449\u0430\u0435\u0442 \u0431\u044b\u0442\u044c \u0431\u043b\u0430\u0433\u043e\u043f\u0440\u0438\u044f\u0442\u043d\u043e\u0439. \u041d\u043e, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0432\u044b \u0438\u0441\u043f\u044b\u0442\u0430\u0435\u0442\u0435 \u0432\u043d\u0435\u0437\u0430\u043f\u043d\u043e\u0435 \u043e\u0441\u043e\u0437\u043d\u0430\u043d\u0438\u0435 \u0438\u043b\u0438 \u0443\u0432\u0438\u0434\u0438\u0442\u0435 \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u044b\u0435 \u0432\u0435\u0449\u0438 \u0441\u043e\u0432\u0441\u0435\u043c \u0441 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u0440\u0430\u043a\u0443\u0440\u0441\u0430.","\u0412\u0430\u0441 \u0436\u0434\u0435\u0442 \u0445\u043e\u0440\u043e\u0448\u0430\u044f \u043d\u0435\u0434\u0435\u043b\u044f. \u0418, \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0432\u044b \u0438\u0441\u043f\u044b\u0442\u0430\u0435\u0442\u0435 \u0432\u043d\u0435\u0437\u0430\u043f\u043d\u043e\u0435 \u043e\u0441\u043e\u0437\u043d\u0430\u043d\u0438\u0435 \u0438\u043b\u0438 \u0443\u0432\u0438\u0434\u0438\u0442\u0435 \u043f\u0440\u0438\u0432\u044b\u0447\u043d\u044b\u0435 \u0432\u0435\u0449\u0438 \u0441\u043e\u0432\u0441\u0435\u043c \u0441 \u0434\u0440\u0443\u0433\u043e\u0433\u043e \u0440\u0430\u043a\u0443\u0440\u0441\u0430."]),k(to,ka.Strength,"\u0412\u0430\u043c \u043f\u043e \u043f\u043b\u0435\u0447\u0443 \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u0432\u0441\u0435, \u043b\u044e\u0431\u044b\u0435 \u043d\u0430\u0447\u0438\u043d\u0430\u043d\u0438\u044f \u0434\u0430\u044e\u0442\u0441\u044f \u043b\u0435\u0433\u043a\u043e. \u0412\u0435\u0440\u044c\u0442\u0435 \u0432 \u0441\u0435\u0431\u044f, \u0441\u0432\u043e\u0438 \u0441\u0438\u043b\u044b \u0438 \u043d\u0435\u0434\u0435\u043b\u044f \u043f\u0440\u0438\u043d\u0435\u0441\u0435\u0442 \u043c\u043d\u043e\u0433\u043e \u043f\u043e\u043b\u044c\u0437\u044b \u0438 \u0434\u043e\u0441\u0442\u0438\u0436\u0435\u043d\u0438\u0439."),k(to,ka.Hanged,"\u0412\u043e\u0437\u043c\u043e\u0436\u0435\u043d \u0440\u0430\u0437\u043b\u0430\u0434 \u0432 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044f\u0445 \u0441 \u043e\u043a\u0440\u0443\u0436\u0430\u044e\u0449\u0438\u043c\u0438. \u0412\u0430\u0436\u043d\u043e \u043d\u0435 \u043f\u0440\u043e\u044f\u0432\u043b\u044f\u0442\u044c \u0438\u0437\u043b\u0438\u0448\u043d\u0435\u0439 \u0430\u0433\u0440\u0435\u0441\u0441\u0438\u0438, \u043d\u043e \u0441\u0443\u043c\u0435\u0442\u044c \u043e\u0442\u0441\u0442\u043e\u044f\u0442\u044c \u0441\u0432\u043e\u0438 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u044b."),k(to,ka.Death,"\u0421\u043a\u043e\u0440\u043e \u0432\u0430\u0441 \u0436\u0434\u0443\u0442 \u043f\u0435\u0440\u0435\u043c\u0435\u043d\u044b, \u0432\u044b \u0438\u0441\u043f\u044b\u0442\u0430\u0435\u0442\u0435 \u043f\u043e\u0434\u044a\u0435\u043c, \u043f\u043e\u0447\u0443\u0432\u0441\u0442\u0432\u0443\u0435\u0442\u0435, \u0447\u0442\u043e \u0443 \u0432\u0430\u0441 \u043f\u043e\u044f\u0432\u0438\u043b\u0438\u0441\u044c \u0441\u0438\u043b\u044b \u043d\u0430 \u0432\u043e\u043f\u043b\u043e\u0449\u0435\u043d\u0438\u0435 \u0436\u0435\u043b\u0430\u043d\u0438\u0439, \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u0435 \u0447\u0435\u0433\u043e-\u0442\u043e \u043d\u043e\u0432\u043e\u0433\u043e."),k(to,ka.Temperance,"\u0411\u043b\u0430\u0433\u043e\u0434\u0430\u0440\u044f \u0442\u0435\u0440\u043f\u0435\u043d\u0438\u044e \u0438 \u0441\u0434\u0435\u0440\u0436\u0430\u043d\u043d\u043e\u0441\u0442\u0438 \u043d\u0435\u0434\u0435\u043b\u044f \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u043e\u0439\u0442\u0438 \u0431\u0435\u0437 \u043f\u0440\u043e\u0438\u0441\u0448\u0435\u0441\u0442\u0432\u0438\u0439. \u041d\u0435 \u0442\u043e\u0440\u043e\u043f\u0438\u0442\u0435\u0441\u044c, \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0439\u0442\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0441\u043f\u043e\u043a\u043e\u0439\u043d\u043e \u0438 \u0443\u0432\u0435\u0440\u0435\u043d\u043d\u043e, \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u043e\u043a\u0440\u0443\u0436\u0430\u044e\u0449\u0438\u0445 \u044d\u0442\u043e \u0440\u0430\u0437\u0434\u0440\u0430\u0436\u0430\u0435\u0442, \u0442\u043e\u0433\u0434\u0430 \u043f\u043b\u0430\u043d\u044b \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u044e\u0442\u0441\u044f \u043b\u0443\u0447\u0448\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c."),k(to,ka.Devil,"\u041d\u0430 \u044d\u0442\u043e\u0439 \u043d\u0435\u0434\u0435\u043b\u0435 \u0432\u0430\u043c \u043d\u0435 \u0437\u0430\u0445\u043e\u0447\u0435\u0442\u0441\u044f \u0437\u0430\u043d\u0438\u043c\u0430\u0442\u044c\u0441\u044f \u0440\u0443\u0442\u0438\u043d\u043d\u044b\u043c\u0438 \u0434\u0435\u043b\u0430\u043c\u0438, \u043d\u043e \u0438\u043c\u0435\u043d\u043d\u043e \u044d\u0442\u043e \u043f\u043e\u0437\u0432\u043e\u043b\u0438\u0442 \u0438\u0437\u0431\u0435\u0436\u0430\u0442\u044c \u043f\u0440\u043e\u0431\u043b\u0435\u043c. \u0414\u0435\u0440\u0436\u0438\u0442\u0435 \u0441\u0435\u0431\u044f \u0432 \u0440\u0443\u043a\u0430\u0445, \u043d\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0439\u0442\u0435 \u043e\u0431\u0441\u0442\u043e\u044f\u0442\u0435\u043b\u044c\u0441\u0442\u0432\u0430\u043c \u0432\u044b\u0432\u0435\u0441\u0442\u0438 \u0432\u0430\u0441 \u0438\u0437 \u0440\u0430\u0432\u043d\u043e\u0432\u0435\u0441\u0438\u044f. \u0412\u044b \u0441\u043c\u043e\u0436\u0435\u0442\u0435 \u0434\u0430\u0442\u044c \u0432\u043e\u043b\u044e \u0447\u0443\u0432\u0441\u0442\u0432\u0430\u043c, \u043d\u043e \u043f\u043e\u0437\u0436\u0435, \u0432 \u043a\u0440\u0443\u0433\u0443 \u0434\u0440\u0443\u0437\u0435\u0439."),k(to,ka.Tower,"\u041d\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0439\u0442\u0435 \u043f\u0440\u043e\u0448\u043b\u043e\u043c\u0443 \u0440\u0430\u0437\u0440\u0443\u0448\u0430\u0442\u044c \u0432\u0430\u0448\u0435 \u043d\u0430\u0441\u0442\u043e\u044f\u0449\u0435\u0435. \u0422\u043e, \u0447\u0442\u043e \u043f\u0440\u043e\u0438\u0441\u0445\u043e\u0434\u0438\u0442 \u0432\u043e\u043a\u0440\u0443\u0433 \u0432\u0430\u0441, \u043d\u0435 \u0438\u043c\u0435\u0435\u0442 \u043a \u0432\u0430\u043c \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044f \u2013 \u0432\u044b \u0432\u0441\u0435\u0433\u043e \u043b\u0438\u0448\u044c \u043e\u043a\u0430\u0437\u0430\u043b\u0438\u0441\u044c \u0432 \u044d\u043f\u0438\u0446\u0435\u043d\u0442\u0440\u0435 \u0441\u043e\u0431\u044b\u0442\u0438\u0439. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u044d\u0442\u0438 \u0441\u043e\u0431\u044b\u0442\u0438\u044f \u0443\u0436\u0435 \u0437\u0430\u0442\u0440\u043e\u043d\u0443\u043b\u0438 \u0432\u0430\u0441, \u0438 \u0441\u043b\u0443\u0447\u0438\u043b\u0438\u0441\u044c \u043a\u0430\u043a\u0438\u0435-\u0442\u043e \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u043e\u0441\u0442\u0438. \u041d\u0435 \u0441\u0442\u043e\u0438\u0442 \u043f\u0435\u0440\u0435\u0436\u0435\u0432\u044b\u0432\u0430\u0442\u044c \u044d\u0442\u0443 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u044e \u0441\u043d\u043e\u0432\u0430 \u0438 \u0441\u043d\u043e\u0432\u0430. \u041d\u0430\u0439\u0434\u0438\u0442\u0435 \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0435 \u0440\u0430\u0432\u043d\u043e\u0432\u0435\u0441\u0438\u0435, \u0438 \u0431\u0443\u0440\u0438 \u0441\u0442\u0438\u0445\u043d\u0443\u0442."),k(to,ka.Star,"\u0421\u043e\u0431\u044b\u0442\u0438\u044f \u044d\u0442\u043e\u0439 \u043d\u0435\u0434\u0435\u043b\u0438 \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u0437\u0430\u0432\u0438\u0441\u044f\u0442 \u043e\u0442 \u0432\u0430\u0448\u0435\u0433\u043e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0433\u043e \u043d\u0430\u0441\u0442\u0440\u043e\u044f \u2014 \u043f\u043e\u0437\u0432\u043e\u043b\u044c\u0442\u0435 \u0441\u0435\u0431\u0435 \u0440\u0430\u0434\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0436\u0438\u0437\u043d\u0438 \u0438 \u0437\u0430\u0431\u044b\u0442\u044c \u043e \u043d\u0435\u0432\u0437\u0433\u043e\u0434\u0430\u0445, \u0447\u0442\u043e\u0431\u044b \u044d\u0442\u0430 \u043d\u0435\u0434\u0435\u043b\u044f \u0441\u0442\u0430\u043b\u0430 \u043d\u0435\u0437\u0430\u0431\u044b\u0432\u0430\u0435\u043c\u043e\u0439."),k(to,ka.Moon,"\u041d\u0435 \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u0439\u0442\u0435 \u0441\u0442\u0440\u0435\u0441\u0441\u0443 \u0438 \u0440\u0430\u0437\u0434\u0440\u0430\u0436\u0438\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u0438 \u0437\u0430\u0445\u0432\u0430\u0442\u0438\u0442\u044c \u0432\u0430\u0441. \u0412 \u043b\u044e\u0431\u043e\u0439 \u044d\u043c\u043e\u0446\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e \u0441\u043b\u043e\u0436\u043d\u043e\u0439 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438 \u043b\u0443\u0447\u0448\u0435 \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0448\u0430\u0433 \u043d\u0430\u0437\u0430\u0434 \u0438 \u0443\u0441\u043f\u043e\u043a\u043e\u0438\u0442\u044c\u0441\u044f. \u041f\u043e\u043c\u043d\u0438\u0442\u0435, \u0447\u0442\u043e \u044d\u0442\u043e \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0435 \u0432\u0440\u0435\u043c\u0435\u043d\u043d\u043e, \u0440\u0430\u043d\u043e \u0438\u043b\u0438 \u043f\u043e\u0437\u0434\u043d\u043e \u0432\u044b \u043f\u0440\u0438\u0434\u0435\u0442\u0435 \u0432 \u0441\u0435\u0431\u044f."),k(to,ka.Sun,"\u041d\u0430 \u044d\u0442\u043e\u0439 \u043d\u0435\u0434\u0435\u043b\u0435 \u0432\u044b \u043e\u0449\u0443\u0442\u0438\u0442\u0435 \u0432\u043d\u0443\u0442\u0440\u0438 \u0441\u0435\u0431\u044f \u043d\u0435\u0432\u0435\u0440\u043e\u044f\u0442\u043d\u0443\u044e \u0441\u0438\u043b\u0443 \u0438 \u0434\u0443\u0448\u0435\u0432\u043d\u044b\u0439 \u043f\u043e\u0434\u044a\u0435\u043c. \u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u044d\u0442\u0443 \u044d\u043d\u0435\u0440\u0433\u0438\u044e \u0441 \u043f\u043e\u043b\u044c\u0437\u043e\u0439 \u2014 \u0441\u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u0447\u0442\u043e-\u0442\u043e \u043e\u0441\u043e\u0431\u0435\u043d\u043d\u043e\u0435, \u043f\u043e\u0434\u043d\u0438\u043c\u0438\u0442\u0435 \u043f\u043b\u0430\u043d\u043a\u0443 \u0442\u0430\u043a \u0432\u044b\u0441\u043e\u043a\u043e \u043a\u0430\u043a \u043d\u0438\u043a\u043e\u0433\u0434\u0430 \u043f\u0440\u0435\u0436\u0434\u0435 \u0438 \u0432\u0430\u043c \u0443\u0434\u0430\u0441\u0442\u0441\u044f \u0434\u043e\u0441\u0442\u0438\u0447\u044c \u0437\u0430\u0434\u0443\u043c\u0430\u043d\u043d\u043e\u0433\u043e."),k(to,ka.Judgment,"\u0415\u0441\u043b\u0438 \u0443 \u0432\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043f\u043e\u043c\u043e\u0447\u044c \u043a\u043e\u043c\u0443-\u0442\u043e, \u043e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435\u0441\u044c \u0435\u0439. \u042d\u0442\u043e \u043f\u043e\u0434\u0430\u0440\u0438\u0442 \u0447\u0443\u0432\u0441\u0442\u0432\u043e \u0443\u043c\u0438\u0440\u043e\u0442\u0432\u043e\u0440\u0435\u043d\u0438\u044f \u0438 \u0432\u0434\u043e\u0445\u043d\u043e\u0432\u0435\u043d\u0438\u0435 \u0434\u043b\u044f \u043d\u043e\u0432\u044b\u0445 \u0441\u0432\u0435\u0440\u0448\u0435\u043d\u0438\u0439."),k(to,ka.World,"\u041a\u043e\u043b\u043b\u0435\u0433\u0430\u043c \u0438\u043b\u0438 \u0434\u0440\u0443\u0437\u044c\u044f\u043c \u043c\u043e\u0436\u0435\u0442 \u043f\u043e\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0432\u0430\u0448\u0430 \u043f\u043e\u043c\u043e\u0449\u044c \u0432 \u0440\u0435\u0448\u0435\u043d\u0438\u0438 \u0441\u043b\u043e\u0436\u043d\u043e\u0433\u043e \u0432\u043e\u043f\u0440\u043e\u0441\u0430. \u041f\u043e\u043b\u043e\u0436\u0438\u0442\u0435\u0441\u044c \u043d\u0430 \u0438\u043d\u0442\u0443\u0438\u0446\u0438\u044e \u0438 \u0441\u043e\u0445\u0440\u0430\u043d\u044f\u0439\u0442\u0435 \u043d\u0435\u043f\u0440\u0438\u043d\u0443\u0436\u0434\u0435\u043d\u043d\u044b\u0439 \u043d\u0430\u0441\u0442\u0440\u043e\u0439 \u2014 \u044d\u0442\u043e \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u0432\u044b\u0445\u043e\u0434 \u0438\u0437 \u0441\u0438\u0442\u0443\u0430\u0446\u0438\u0438."),to),oo="Q1VSUkVOVF9XRUVLX0NBUkQ=",io=function(e){return e.split("").map((function(e){return String.fromCharCode(e.charCodeAt(0)<<1)})).join("")},lo=function(e){return e.split("").map((function(e){return String.fromCharCode(e.charCodeAt(0)>>1)})).join("")},uo=function(){localStorage.removeItem(oo)},co=function(e,t){return Math.floor(Math.random()*(t-e+1))+e},so=function(){var e=Object.values(ka);return e[co(0,e.length-1)]},fo=function(e){var t=ao[e];return Array.isArray(t)?t[co(0,t.length-1)]:t},po=function(t){var n=t.card,r=c((0,e.useState)(0),2),a=r[0],o=r[1],i=(0,e.useCallback)((function(){n&&(o(1),function(e){var t=[io(e),io((new Date).getTime().toString())];localStorage.setItem(oo,JSON.stringify(t))}(n))}),[n]),l=(0,e.useCallback)((function(){o(2)}),[]),u=(0,e.useCallback)((function(){o(3)}),[]),s=(0,e.useCallback)((function(){o(4)}),[]),d=(0,e.useMemo)((function(){return n?fo(n):""}),[n]);return console.log(n,a),n?(0,Qa.jsxs)(ea,{className:"FancyCardChooseRoot",children:[(0,Qa.jsx)(Ja,{isOpened:a>=1}),(0,Qa.jsx)(Za,{cardType:n,onOpen:i,isInitiallyOpened:!1}),(0,Qa.jsx)(Qn,{level:"1",className:Ca()("Title",a<1&&"hidden"),onTransitionEnd:l,children:n}),(0,Qa.jsx)(Qn,{level:"2",className:Ca()("Title","Second",a<2&&"hidden"),onTransitionEnd:u,children:"\u0412\u0430\u0448\u0435 \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u043d\u0438\u0435 \u043d\u0430 \u043d\u0435\u0434\u0435\u043b\u044e:"}),(0,Qa.jsx)(ro,{text:d,onFinish:s,isHidden:a<3}),(0,Qa.jsxs)(lr,{padding:"m",mode:"card",className:Ca()("FancyCardChooseGroup",a<4&&"hidden"),children:[(0,Qa.jsx)(Wn,{size:"l",stretched:!0,className:"FancyCardChooseButtonShare",children:"\u041f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f"}),(0,Qa.jsx)(at,{className:"FancyCardChooseButtonLinkText",children:"\u0411\u043e\u043b\u044c\u0448\u0435 \u0433\u043e\u0440\u043e\u0441\u043a\u043e\u043f\u043e\u0432 \u043d\u0430"}),(0,Qa.jsxs)("a",{href:"https://horoscopes.rambler.ru/",target:"_blank",rel:"noreferrer",children:[(0,Qa.jsx)("img",{src:eo}),(0,Qa.jsx)("img",{src:no})]})]})]}):null},vo=function(t){var n=t.card,r=(0,e.useMemo)((function(){return n?fo(n):""}),[n]);return(0,Qa.jsxs)(ea,{className:"FancyCardChooseRoot",children:[(0,Qa.jsx)(Ja,{isOpened:!0}),(0,Qa.jsx)(Za,{cardType:n,isInitiallyOpened:!0}),(0,Qa.jsx)(Qn,{level:"1",className:Ca()("Title"),children:n}),(0,Qa.jsx)(Qn,{level:"2",className:Ca()("Title","Second"),children:"\u0412\u0430\u0448\u0435 \u043f\u0440\u0435\u0434\u0441\u043a\u0430\u0437\u0430\u043d\u0438\u0435 \u043d\u0430 \u043d\u0435\u0434\u0435\u043b\u044e:"}),(0,Qa.jsx)(ro,{text:r,isHidden:!1}),(0,Qa.jsxs)(lr,{padding:"m",mode:"card",className:Ca()("FancyCardChooseGroup"),children:[(0,Qa.jsx)(Wn,{size:"l",stretched:!0,className:"FancyCardChooseButtonShare",children:"\u041f\u043e\u0434\u0435\u043b\u0438\u0442\u044c\u0441\u044f"}),(0,Qa.jsx)(at,{className:"FancyCardChooseButtonLinkText",children:"\u0411\u043e\u043b\u044c\u0448\u0435 \u0433\u043e\u0440\u043e\u0441\u043a\u043e\u043f\u043e\u0432 \u043d\u0430"}),(0,Qa.jsxs)("a",{href:"https://horoscopes.rambler.ru/",target:"_blank",rel:"noreferrer",children:[(0,Qa.jsx)("img",{src:eo}),(0,Qa.jsx)("img",{src:no})]})]})]})},mo=function(t){var n=t.id,r=(t.go,t.fetchedUser),a=(0,e.useMemo)((function(){var e=function(){var e=localStorage.getItem(oo);if(!e)return null;try{var t=c(JSON.parse(e),2),n=t[0],r=t[1],a=lo(n),o=Number(lo(r));return Number.isNaN(o)||(new Date).getTime()-o>6048e5||-1===Object.values(ka).findIndex((function(e){return e===a}))?null:a}catch(i){return null}}();return console.log(e),e?[e,!0]:[so(),!1]}),[]),o=c(a,2),i=o[0],l=o[1];return console.log(i,l),(0,Qa.jsxs)(Ye,{id:n,children:[(0,Qa.jsxs)(Et,{fixed:!0,shadow:!0,className:"Header",children:["\u0420\u0430\u043c\u0431\u043b\u0435\u0440/\u0422\u0430\u0440\u043e",(0,Qa.jsx)(Wn,{onClick:uo,children:"clearCardName"})]}),r&&(0,Qa.jsx)(lr,{header:(0,Qa.jsx)(ar,{mode:"secondary",children:"User Data Fetched with VK Bridge"}),children:(0,Qa.jsx)(Lr,{before:r.photo_200?(0,Qa.jsx)(Zr,{src:r.photo_200}):null,subtitle:r.city&&r.city.title?r.city.title:"",children:"".concat(r.first_name," ").concat(r.last_name)})}),(0,Qa.jsxs)(ea,{className:"MainBackground",children:[(0,Qa.jsx)(Qn,{level:"1",className:Ca()("MainTitle"),children:"\u0420\u0430\u043c\u0431\u043b\u0435\u0440 / \u0422\u0430\u0440\u043e"}),(0,Qa.jsx)(Qn,{level:"2",className:Ca()("MainTitle","SecondTitle"),children:"\u0423\u0437\u043d\u0430\u0439 \u0441\u0432\u043e\u044e \u0441\u0443\u0434\u044c\u0431\u0443"}),l?(0,Qa.jsx)(vo,{card:i}):(0,Qa.jsx)(po,{card:i})]})]})},ho=n.p+"static/media/persik.ae9f00727841e011ac15.png",go=function(e){return(0,Qa.jsxs)(Ye,{id:e.id,children:[(0,Qa.jsx)(Et,{before:(0,Qa.jsx)(ua,{onClick:e.go,"data-to":"home"}),children:"Persik"}),(0,Qa.jsx)("img",{className:"Persik",src:ho,alt:"Persik The Cat"})]})},yo=function(){var t=c((0,e.useState)("home"),2),n=t[0],r=t[1],o=c((0,e.useState)(null),2),l=o[0],u=o[1],s=c((0,e.useState)((0,Qa.jsx)(gn,{size:"large"})),2),f=s[0],p=s[1];(0,e.useEffect)((function(){function e(){return(e=i(d().mark((function e(){var t;return d().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a().send("VKWebAppGetUserInfo");case 2:t=e.sent,u(t),p(null);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var t=new Promise((function(e){return setTimeout(e,2e3)}));Promise.race([function(){return e.apply(this,arguments)}(),t]).then((function(){return p(null)}))}),[]);var v=function(e){r(e.currentTarget.dataset.to)};return(0,Qa.jsx)(Sa,{children:(0,Qa.jsx)(ya,{children:(0,Qa.jsx)(pa,{children:(0,Qa.jsx)(Dt,{popout:f,children:(0,Qa.jsx)(xe,{children:(0,Qa.jsxs)(Ue,{activePanel:n,children:[(0,Qa.jsx)(mo,{id:"home",fetchedUser:l,go:v}),(0,Qa.jsx)(go,{id:"persik",go:v})]})})})})})})};a().send("VKWebAppInit"),t.render((0,Qa.jsx)(yo,{}),document.getElementById("root"))}()}();
//# sourceMappingURL=main.dea21109.js.map